HLINE
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
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.