How to draw a trend line that joins the highest point of every candle after first hour of day
问题 I want to write an EA that joins the highest points of each candle using a trend line (after the first hour of a day). I saw the documentation for the trend line. This is what I've done: ObjectCreate(chart_ID,name,OBJ_TREND,sub_window,time1,price1,time2,price2) ObjectSetInteger(chart_ID,name,OBJPROP_COLOR,clr); ObjectSetInteger(chart_ID,name,OBJPROP_STYLE,style); ObjectSetInteger(chart_ID,name,OBJPROP_WIDTH,width); ObjectSetInteger(chart_ID,name,OBJPROP_RAY,false); I know I am suppose to