Pinescript
Slow progress on the DOGE Coin.While new ideas are great, it is also important to follow up with any results. Here in accordance with the slow move and due to pressure, we traced a new trend line. That, show the little progress and again, pressure as a resistance. We then understand, that it is also important to look for a watch of a break of some kind, when it will happen. The more sell signals shown, the more resistance, the opposite for support.
For educational purposes only and not intended a financial advice of any kind.
What DOGE coin was up to, today.On this 15 min chart, we can see how DOGE Coin has been moving a little lower. Also, its volume, where buyers and sellers take action, so the chart shows up that reaction to the marker. We can assign warnings or positions to take accordingly.
For educational purposes only and not intended as a financial advice of any kind.
A "Welcome to" Pinescript coding, Part 3In this lesson, the third in the series, I'll show you how to write a "non-overlay" script.
These sit below or above the price chart. They are best for cases where the values the indicator generates are nowhere near the price.
Trying to plot a value of 100 on a chart where the price is 42,000 is pretty pointless, after all!
A long term analysis of SATSUSDSATSUSD is clearly in a down trend. The last uptrend line has been broken. Currently, the SATSUSD is consolidating in this channel and soon price is likely to go down more. Wait for the breakout of the channel in the red zone. Look at the SATSUSD on the Pine table containing more indicators for further analysis.
Trend analysis of SATSUSD by Dow theoryFor SATSUSD, as the last Higher Low has been broken on the weekly timeframe, we can say that it is a clear sign of the trend reversal. I am expecting that there will be more downward pressure for the price action at important Fib levels, creating new Lower Highs and Lower Lows.
DAILY TF LOOKING TO BREAK LG. S TRIANGLEstill in a bearish bias but looking to go long if candle closes above s.triangle or will stay short if candle closes below s. triangle, im using a new strategy that i have worked very hard in building "M.E.T.S" (Moody Elder Tory Strategy) im using 3-4 indicators/scripts each by (Chris moody) (Alexander Elder) and (Tory) indicators like (macd) (rsi) (atr) (psar) (super trend) both (divergence macd and rsi) (tops/bottoms) (Elder impulse) using a 15-ema trend candles, the trading rules are simple, everything is color coded to be bulls/black and bears/red, when 5 out of my 10 indicators signal red/black i will look to take that position trade in that trend bull or bear /short or long, drawing my own support/resistance and using the (vpvr) and draw technical analysis patterns like (s. triangles) (falling/rising wedges) (double/triple tops/bottoms) ect.. and using a linear regression channel trend lines i will look for breaks of structure, break from a pattern and try to only take trades at a value structure , i use the (atr) to calculate my take profits and stop losses taking into account the next support/resistance or dynamic moving average oe EMA , im also looking for ema crosses, im looking for more confirmation as each of my 10 signal indicators (macd) (rsi) both (divergences) (psar) (super trend) (impulse) all signals not only to help me take trade but confirmation in my tech analysis, i have made up the simple rules and in order to take trade i have to follow these strict rules, also using risk management, risk/reward ratio, and never no higher leverage then 15X that seems to be the sweat spot with being able to stick to the ATR average true range calculations in order not to get stomped out , liquidated or stop hunted by the fraudulent tactics the exchanges use, im looking to add 1 more indicator to my arsenal of indicators/scripts that trading-view has to offer which are some great ones from the pros in our community and i thank them and my hat goes off to there contributions to our trading community and there value is priceless to our trading strategy s , im looking to have a new pine script built by (Racer8) he is a 20 year old prodigy in coding/script building in our community and he may be very young and new to our community he has already added much value in his ideas with a couple interesting scripts like his (probability) script that gives you probability on hitting your stop loss or take profit so i asked him yesterday if we could reverse the code and use it to see the probability of winning the trade position vs stop loss/take profits, i see there being so much more value using the script indicator for that so i asked him if we or he could reverse the coding , i tried myself by just reversing the colors ect.. but mathematically im not sure if the probability would be accurate since im not a coder or script builder myself with no coding/script background, im waiting for his answer now. anyway let me know if u think u see more value in such a indicator/script and u want to learn more about my new strategy that im front testing now with real capital since backtesting did very well, thanks
SHA256BITTRADER
Why trading with Pine script can give you an extra month a year!I've spent around 9/10 years trading with technical analysis.
I used to spend 2/3 hours on a weekend and easily 1/2 hours each day on the screen - that doesn't include the amount of times I'd be checking from my phones on and off throughout the day too!
So add that all up - its 620-700 hours per year.
Frightening.
We trade for freedom and time - not to spend that time looking at a chart.
Well, in my opinion anyway.
A month is 720 hours - so pretty much an extra month a year.
Crazy right?
Fed up, I created a systematic approach.
This video highlights how my systematic strategy works vs. how you would see the markets technically on the last GJ sell.
Pinescript makes all this easier too, I have data at the click of a button!
Any questions feel free to drop me a DM.
Thank you,
Darren.
BNBBIDR - Long Position (16/03/2021)This is based on what I have learned on my failed setup (linked below).
I have lower my target profit.
It's not a good risk reward ratio, but we will see.
Btw, I have wrote my own pinescript to detect pin bar candlestick hehe.
Testing out simple algorithm - HUSADay 1 - This stock was found using the following rules
1) price under 15
2) volume over 200k
3) price above 50 sma
4) price above 200 sma
5) float under 50M
6) relative volume over 3 *
Testing out if those inputs equate to favourable outputs
Holding period - not determined in the set of rules, testing how the rules react first
Bitcoin Dip Buying - Part 0: Coding the IndicatorThis is a prequel video for a series on how to identify and buy liquidation dips in Bitcoin and other cryptocurrencies. Most aspiring traders do not have time to dig into the full process of becoming a successful trader and instead want to skip straight to making millions of dollars so this video is labeled as Part 0; it is optional. This video is for those that want an overview of Tradingview's Pine Script coding so that they may better understand what it takes to build a trading strategy from scratch.
Coding Indicator in Tradingview from InspirationSo today is rest and research Sunday and I wanted to share with folks how I go about creating new strategies and indicators. Hopefully this can teach traders to fish rather than giving them just the fish (of a buy/sell signal!)
I was inspired by watching a Youtube podcast Desiretotrade by Etienne Crane where I saw on his chart arrows indicating where price closed outside of a Bollinger Band followed by price closing back inside. This made me want to test such a price action phenomenon myself and to do that I needed to code it up.
I'm really a hacker when it comes to programming and Pine Script but I began coding from ZERO knowledge and my tricks, which I share, should hopefully help new Tradingview/Pine Script coders. GOOGLE IS YOUR FRIEND!!! It has all the answers if you just type the correct search :)
Unfortunately, I did not realize that Tradingview cuts off videos at 20 minutes. Oops! I got the meat of the indicator and process of using it all recorded and got cut off as I was cleaning up the code to make it more user friendly. I'll know to keep track of time for the next video!
Please let me know if this was helpful to traders... I get motivated by positive vibes to do more teaching!
Tips on securing your own Pine Script code and sharing10 Pine Commandments
Rule number uno: never share something you don't intend on open-sourcing. It will be archived forever.
2. If you believe ideas are intellectual property and you have a 1 in a million unique idea, tell them that you would like that idea to not be shared.
3. If someone randomly sends you scripts without you prompting, don't send them some of your (valuable) ones because you feel as if there has been rapport or trust built.
4. Never get high on your own supply
The rest of these biggie lyrics don't make any sense for this. Anyways:
When you turn "sharing on" for your chart and add a script from console, anyone can copy the script and see the source code. This is expected behavior but should be known for those who don't like sharing.
When you publish an idea and add a script from console, the same thing happens as above. If you've done this on accident, you have 15 minutes to delete it.
Tip: never work on a private project on a chart that has sharing on. Label chart names with 'Sharing' to help identify them.
If you want to allow trial use, create an invite-only indicator. Do not use closed-source indicators and assume updating them will stop trial usage.
Don't use pastebin lol.
You're not that original, and neither am I. We all use the same sites, read the same articles; mind meld is bound to happen. I used to publish scripts pre-emptively because of this.
When you share your indicator, it can be reverse engineered if it is simple enough/uses well known functions.
Here's a funny example that is slightly related:
Person is accused of stealing script, the accuser is accused of copy/pasting the Pine Legends Chris Moody/LazyBear:
www.trading view.com/script/4IfUS1Jd-SNG/
Accuser actually reverse engineered this script as far as I can tell:
www.trading view.com/script/pvGZhYxm-Canadian-Trader-Dream-Strategy/
New Pine Updates - Line.get_price(), label styles and much moreHello,
This video idea covers some of the big updates added to Pine and TradingView over the last several days. Most importantly, I show you how to use the following new features:
- line.get_price() - a function used to get the price of a line object on the chart at a specific bar value
- label styles - how to use the new styles added into Pine for your labels
I also discuss some other new features such as:
- label tooltips
- the addition of Candlestick patterns as built-in indicators on the platform
- syminfo.basecurrency
- timezone parameter when getting a bar's time
Thank you!
Backtest doesn't show any tradesI have tried fixing my code to backtest my strategy and when I try to backtest it, it tells me that my code couldn't complete any trades. Please help I am in dire need.
Here is the code:
//@version=4
strategy("backtest #001", overlay=true, initial_capital=100000, currency='USD')
//backtest
fromYear = year > 2010
toYear = year < 2020
//inputs
mystoch = stoch(close, 14, 3, 3) >= 85
myema = ema(close, 200) >= ema(close, 200)
mybbw = bbw(close, 20, 2) >= 0.03
//closing inputs
mystochclose= stoch(close, 14, 3, 3) <= 40
myemaclose = ema(close, 200) <= ema(close, 197)
mybbwclose = bbw(close, 20, 2) <= 0.03
//problems
strategy.entry('buy', true, 1, when = (mystoch and myema and mybbw)? 1 : 0)
strategy.close("buy", when = (mystochclose and myemaclose and mybbwclose)? 1 : 0) , qty_percent = 50






















