Your code doesn't even compile :
bool ok = ChartSetInteger(chart_id, CHART_MODE, CHART_MODE_LINE);
It draws your "candle" one beside the other because the time is not good :
DrawCandle(target_chart, currentPeriodStart, openPrice, highPrice, lowPrice, closePrice);
Anyway, on a normal M1 chart it will be difficult to have it drawing candles correctly. You should better use a custom symbol (with 'fake' M1 candles you will create yourself).
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I was trying but It doesnt work, I really do not know how to make it, please help.
The Base Code: