Could someone please provide me with an example coding using donchian channel .
hElLO tRaDeR,
Based on the Donchain Formula of:
Upper Channel = 20 Day High
Lower Channel = 20 Day Low
Middle Channel = (20 Day High + 20 Day Low)/2
TRADESCRIPT:
Upper Channel = HHV(20) Lower Channel = LLV(20) Middle Channel = (HHV(20) + LLV(20)) / 2
What if i am trying to find the difference between the donchian channel bottom and bollinger bands bottom. Is there any way to code such conditions?
ABS(LLV(20) - BBB(CLOSE, 20, 2, EXPONENTIAL))
what does the ABS stand for and what is the for LLV ?
The ABS function returns the absolute value for a number. Negative numbers
become positive and positive numbers remain positive.