This indicator indicates on the graph, an event Breakout in green color.
In red, a BreakDown.
The basic indicator is the index force coupled with the Bollinger Band to identify a statistical anomaly on the closing price caused by volumes.
If the upper band of the bollinger bands is exceeded by the forceindex, it’s mean a BreakOut.
A BreakDown when the lower band of bollinger is exceeded.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
// Name : BreakSearch indicator // author : patmaba // date : 2017/dec/05 // // Purpose // ------- // This indicator indicates on the graph, an event Breakout in green color. // In red, a BreakDown. // // Parameter // --------- // It uses a parameter p to determine the period. by default it is set to 10. // // Description // ----------- // The basic indicator is the index force coupled with the Bollinger Band to identify a statistical anomaly on the closing price caused by volumes. // If the upper band of the bollinger bands is exceeded by the forceindex, it's mean a BreakOut. A BreakDown when the lower band of bollinger is exceeded. fi=ForceIndex(close) bu=BollingerUp[p](fi) bd=BollingerDown[p](fi) breakValue=0 // color variable redColorValue=0 greenColorValue=0 // Check statistical anomaly(BollingerBands) on price by volume(ForceIndex) if fi >= bu then // here the BreakOut breakValue=1 greenColorValue=255 elsif fi <= bd then // here the BreakDown breakValue=-1 redColorValue=255 endif return breakValue coloured(redColorValue,greenColorValue,0) style(histogram) as "BreakOut/Down" |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
Merci pour ce travail…
merci Alai-n.
C’est ma première participation sur prorealcode, merci pour à toi pour ton commentaire.
J’ai essayé de rester le plus simple possible.
Can this be converted to a screener?