line down = a
line up = b
line down = c
line up = d
line down = e (a,b,c,d,e) = Negative count for corrections
line up = i
line down = ii
line up = iii
line down = iv
line up = v (i,ii,iii,iv,v) = Positive count for correction
What do you expect from us? Do you want an indicator to be coded according the up/down conditions you explained?
Hi Nicolas Yes all l need is same help to learn how l can code it myself l am trying to see it on your training programing in the video there is nothing that explains using on Style eg: line only candlestick style patton
If there is on indicator in the system that can do that please let me know
If that line is the Close you can count the top and bottom like this:
top = close>close[1] and close[1]<close[2]
bottom = close<close[1] and close[1]>close[2]
if top then
topcount=topcount+1
//do something ?
endif
if bottom then
bottomcount=bottomcount+1
//do something ?
endif
return top, bottom
Added as Log 176 to here …
Snippet Link Library