RobinJK

Horisontal Grid. For 00 values.

Category: Indicators By: RobinJK Created: March 3, 2021, 5:01 PM
March 3, 2021, 5:01 PM
Indicators
0 Comments
Horisontal Grid. For 00 values.

Values needs to be changed depending on the instrument.
Also most of the math is unneccesary.
(100+(100*(1+x)))
y=x
x=y+1
Is the only thing you acctually need.

I just wrote it like this, so i can backtrack easy and see what i did.

//Actual Line
Linevalue=100
DRAWHLINE(100)
DRAWHLINE(100+100)
DRAWHLINE(100+(100*2))
DRAWHLINE(100+(100*(2+1)))
DRAWHLINE(100+(100*(2+x)))coloured(0,200,0)STYLE(line,3)

//Optional Extra deviation lines.
DRAWHLINE(105)
DRAWHLINE(105+100)
DRAWHLINE(105+(100*2))
DRAWHLINE(105+(100*(2+1)))
DRAWHLINE(105+(100*(2+x)))coloured(0,200,0)STYLE(DOTTEDline,1)
DRAWHLINE(195)
DRAWHLINE(195+100)
DRAWHLINE(195+(100*2))
DRAWHLINE(195+(100*(2+1)))
DRAWHLINE(195+(100*(2+x)))coloured(0,200,0)STYLE(DOTTEDline,1)

y=x
x=y+1

RETURN

Download
Filename: horizontal-grid-00-values.itf
Downloads: 214
RobinJK
RobinJK Junior
This author is like an anonymous function, present but not directly identifiable. More details on this code architect as soon as they exit 'incognito' mode.
Author’s Profile

Comments

ProRealCode ProRealCode
Loading...