To all new traders, and busy traders I will be posting one that you can set alerts. Please look under my profile or type "K.M Trend Alerts (BETA 1.2)" .
I ask for everyone to try this script out, please provide any feedback under in the comments below. Any feedback will be amazing! Thank you to everyone, and http://www.tradingview.com.
Follow us on Instagram: TWTForexGroup, we have amazing content and also sell signals!
//@version=2 strategy("K.M Trend Strategy (BETA 1.2)") //// This script is built by Kevin Manrrique, if you have any information or questions //// //// about this script and how it works please message me. K.M Trend Alerts (BETA 1.2) is a //// //// testing indicator. If your intrested in recieving signals please follow us on; Instagram: TWTForexGroup //// //// We build, rebuild, repair, and test if intrested inbox me ///// //// Appreciate what you have around you, not everyone lives like us //// //// Sincerely, //// //// Kevin Manrrique //// //// Main //// tim="2440", minval=1 tim2="1440", minval2=1 //// Lines //// line1 = security(tickerid, tim, close) line2 = security(tickerid, tim2, close[0.99]) line3 = line2 - line1 //// Plot //// plot(line3, style=columns, color=orange, linewidth=3, title="P") //// Additions //// baseline=0 plot(baseline, style=line, color=black, title="B") //// Signals //// longcondition = cross(line3, baseline) if (longcondition) strategy.entry("Buy", strategy.long) shortcondition = crossunder(line3, baseline) if (shortcondition) strategy.entry("Sell", strategy.short)
To be honest,It means that an indicator is changing an outcome re-painting its historical data which is lagging behind live ( looking forward )
The past is "repainted" in every tim2="1440" min or for whatever timeframe I use like other re painting indicators or strategies ANN , Gettrend ..etc
First of all, never use Heikin Ashi charts to test strategies. Open and close prices are not "real" so it will give you entry/exit prices that you will never be able to achieve in live trading.
Then, what does close even mean ? In Pinescript, this is interpreted as close. So unless you use this strategy on timeframes >2440min, it uses future data and therefore repaints.