hi there
sorry for my poor English. I can't program a custom indicator after reading the MQL4 course wrote by coder's guru. plz someone help me. thx vm.
it's very simple and I can use Excel to do this, however, I can't write the codes.I just want to draw three lines in the main chart window.
1st line=MIN(the lows of last 12 bars)+(MAX(the highs of last 12 bars)-MIN(the lows of last 12 bars))*2/3
2nd line=MIN(the lows of last 12 bars)+(MAX(the highs of last 12 bars)-MIN(the lows of last 12 bars))*1/3
the first 2 lines should be drawn until 5 time-units later (not move forward! for details plz see attachment)
3rd line=CLOSE(last bar)+[(CLOSE(last bar)-CLOSE(the bar before last bar)]*0.618
the xls attachment contains the detail and the 3 lines
plz do me this big favor
thx
sorry for my poor English. I can't program a custom indicator after reading the MQL4 course wrote by coder's guru. plz someone help me. thx vm.
it's very simple and I can use Excel to do this, however, I can't write the codes.I just want to draw three lines in the main chart window.
1st line=MIN(the lows of last 12 bars)+(MAX(the highs of last 12 bars)-MIN(the lows of last 12 bars))*2/3
2nd line=MIN(the lows of last 12 bars)+(MAX(the highs of last 12 bars)-MIN(the lows of last 12 bars))*1/3
the first 2 lines should be drawn until 5 time-units later (not move forward! for details plz see attachment)
3rd line=CLOSE(last bar)+[(CLOSE(last bar)-CLOSE(the bar before last bar)]*0.618
the xls attachment contains the detail and the 3 lines
plz do me this big favor
thx
Attached File(s)
eg.xls
20 KB
|
298 downloads