Like this
Inserted Code
ObjectSet(sLineName, OBJPROP_TIME1, WindowTimeOnDropped()); ObjectSet(sLineName, OBJPROP_PRICE1, WindowPriceOnDropped()+5*Point); if (LineType==OBJ_TREND) { ObjectSet(sLineName, OBJPROP_TIME2, Time[0]); ObjectSet(sLineName, OBJPROP_PRICE2, WindowPriceOnDropped()+5*Point); }
DislikedSo this is almost perfect, but I need to change point 2.
}
ObjectSet(sLineName, OBJPROP_TIME1, WindowTimeOnDropped());
ObjectSet(sLineName, OBJPROP_PRICE1, WindowPriceOnDropped());
if (LineType==OBJ_TREND) {
ObjectSet(sLineName, OBJPROP_TIME2, Time[0]);
ObjectSet(sLineName, OBJPROP_PRICE2, Bid);
}
This allows me to draw a ray from whatever point I specify, but as of right now, the 2nd point is automatically connected to the current bid. Can we somehow modify ...
ObjectSet(sLineName, OBJPROP_TIME2, Time[0]);
ObjectSet(sLineName,...Ignored