|
Quote: |
|
 |
|
|
Blu-Ray:
I know you have coded up some indicators in the past and posted them freely on this forum and for that I thank you for your generosity. I do have a simple EL question for you. How would one store the opening 60 min high and low as a variable to be used for other calculations? Thanks in advance. |
|
|
|
|
Thanks bh_trade
Yes, it would be as waveslider mentioned on his post if your using an hourly chart, or alternatively if your using a smaller timeframe chart, then putting an "endtime" as input would be easy enough for you.
Here's an example of the code you would need.
Inputs:
endtime (1030);
Vars:
HH(0),LL(0);
if date<>date[1] then begin
HH = high;
LL = Low;
end;
if time <= endtime then begin
if high > HH then HH = High;
if Low < LL then LL = Low;
end;
Hope this helps
Blu-Ray