Posted By: vivaldi2
Can't plot daily high & low - 10/09/19 17:35
I am trying to plot yesterday high and low, but it return something different :
what is wrong with my code ?
Code
function run() { BarPeriod = 30; LookBack = 0; asset("EUR/USD"); var session_high = dayHigh(UTC,1); // var session_low = dayLow(UTC,1); // var session_pivot1 = dayPivot(UTC,1); // plot("USUTC-1 Session High Price", session_high, MAIN, GREEN); plot("USUTC-2 Session Low Price", session_low, MAIN, GREEN); plot("USUTC-3 Session Pivot", session_pivot1, MAIN, YELLOW); }
what is wrong with my code ?