Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,628
|
lucagtii,
take a look at the built-in OHLC_Yesterday indicator, it demonstrates how to track the highest high and lowest low for a day. At the moment it plots yesterday's Open, High, Low and Close, but you could modify (I would suggest saving the code under a different name) it and change the plots for yesterday's Open and Close to plot m_todayshigh and m_todayslow instead.
Regards,
ABCTG
|