efod28:
To draw a line between two time points use OBJ_TREND. Trend lines use two coordinates so you can specify starting and ending points.
hey,
i wrote a new expert, i need to put on the chart HLINE but i want it to bw in specified time for ex. from 23:00 to 09:00
here is what i wrote:
ObjectCreate("HighLine",OBJ_HLINE,0,0,BoxHigh);
ObjectSet("HighLine",OBJPROP_COLOR,LinesColor);
ObjectSet("HighLine",OBJPROP_WIDTH,2);
what is missing???
tnx.
robofx.org:
To draw a line between two time points use OBJ_TREND. Trend lines use two coordinates so you can specify starting and ending points.
To draw a line between two time points use OBJ_TREND. Trend lines use two coordinates so you can specify starting and ending points.
tnx, but trendline isn't good for me, i need my line to be Horizental and in specifed price
efod28:
tnx, but trendline isn't good for me, i need my line to be Horizental and in specifed price
You set Price1 = Price2 and the trend line becomes horizontal.
tnx, but trendline isn't good for me, i need my line to be Horizental and in specifed price
robofx.org:
You set Price1 = Price2 and the trend line becomes horizontal.
You set Price1 = Price2 and the trend line becomes horizontal.
great, tnx
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
hey,
i wrote a new expert, i need to put on the chart HLINE but i want it to bw in specified time for ex. from 23:00 to 09:00
here is what i wrote:
ObjectCreate("HighLine",OBJ_HLINE,0,0,BoxHigh);
ObjectSet("HighLine",OBJPROP_COLOR,LinesColor);
ObjectSet("HighLine",OBJPROP_WIDTH,2);
what is missing???
tnx.