A very simple but practical code that allows you to draw a channel between the highs and lows of a chosen period.
Have fun!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
start = (start) end = (end) tc = time>start and time<=end if tc then if not tc[1] then hh=high ll=low endif hh=max(high,hh) ll=min(low,ll) endif return hh as "Highest",ll as "Lowest" |
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 :
Filename : download the ITF files
How to import ITF files into ProRealTime platform?
PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
merci