The related article is copyrighted material from Stocks & Commodities 2009 Oct You can change long to short in the Input Settings WARNING: - For purpose educate only - This script to change bars colors.
TTM scalper indicator of John Carter’s Scalper Buys and Sells. The methodology is a close approximation of the one described in his book Mastering the Trade. The book is highly recommended. Note the squares are not real-time but will show up once the third bar has confirmed a reversal. You can change long to short in the Input Settings WARNING: - For...
This is my first script and it is basically a MA crossover/under strategy that uses heikin ashi closing prices. I've also used limit orders based on HA opening prices of the previous day for entry which improves the performance. However, this impose a restriction when prices are moving too fast and the algo is unable to enter the trade, resulting in a bad position...
Trend continuation factor, by M.H. Pee The related article is copyrighted material from Stocks & Commodities. You can change long to short in the Input Settings WARNING: - For purpose educate only - This script to change bars colors.
EMA13 and SMA30 crossovers. Good when the market is very volatile.
there it is, it's using the Connor RSI with little variations. C onnor M oving A verage RSI
I am still learning pinescript, and part of this was created using the Pine Script language reference manual. This includes looking at the time series, a fixed length, and the default intraday_loss variables. This also includes the basic fixed lengths for an swma (Symmetrically weighted moving average) and the script to start creating a strategy. All in all this...
Sharing the simple trend following trading strategy, traders can add their own rules in this, to minimise the losses and maximise the profits. Like below. 1. Go long only if price is above 189 days EMA/SAM 2. Exit position when high or low of previous candle is breached in the opposite direction of the trend. 3. Go long only if price is in up trend on higher...
In essence, it is simply the standard deviation of the last x bars of a y-bar moving average. Thus, the TAI is a simple trend indicator when prices trend with authority, the slope of the moving average increases, and when prices meander in a trendless range, the slope of the moving average decreases. You can change long to short in the Input Settings ...
This code snippet below is a quick and dirty follow up to some statistical analysis performed on the FTSE 100. It showed that over the long run, (since 1995) going long on a Friday appeared to have a statistical edge (53%). As a bit of fun, I wanted to create a quick pine script backtest to test this and see if it is possible to profit from it. After all, the...
This is the second part of TFS trading strategy. The concept of this indicator is similar to that of On-Balance Volume indicator (OBV). It is calculated according to these rules: If Close > Open, Volume is positive If Close < Open, Volume is negative If Close = Open, Volume is neutral Then you take the 7-day MA of the results. You can change long to...
Hello Friends, i found here a Keltner Channel Strategy. But this Strategy trades LONG and SHORT. Could some code it to long also. If a sell condtion is true, so no short trades is initiated - only sell se long trade to be flat. is it possible? Thank you so much for your help!
The code in this post contains a set of default strategy inputs I use in new projects / backtests in Tradingview. Full code commentary is available on the Backtest-Rookies website. To comply with house rules, I cannot post the direct link here. Features Trade Direction: So that you can limit the strategy for long only, short only or trade in both...