![]() This means entry signals are later and exits later. ![]() It waits to confirm trend, so there is a lag. This study makes an effort to weed out false reversals. This indicator is a take-off on the popular 3-bar studies which are responsive to price action, so they are favored by scalpers. No, the script in the 1st post does not repaint. So if you see "AddOrder" in the script like at the bottom of the first post It should not be a repainter.Īlso, the script itself will tell you if it repaints. The forum "tries" to ensure that no backtesting scripts for repainters are posted. # End Code Backtesting SnippetAdd the following to your existing script, then add the entire indicator as a new strategy: UpSignal.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP) ĭownSignal.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN) Plot DownSignal = if down0 then high else Double.NaN Plot UpSignal = if up0 then low else Double.NaN Halftrend.AssignValueColor(if up > 0 then color.cyan else color.red) Maxlowprice = if lowma > minhighprice and close > high Nexttrend = if lowma > minhighprice and close > high Trend = if highma minhighprice and close > high Maxlowprice = Max(lowpricei, maxlowprice)
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |