using MC beta 7 and the time precision is to the millisecond. I'm using Tick Chart.
Where is my error
I want to use the mouse click event to show an arrow. From my code, arrow is not showed. I suspect because the time precision is not the millisecond.
Martin
Code: Select all
if MouseClickshiftPressed then begin
Amouseclick = True;
vClickBarNbr = MouseClickBarNumber;
vclickdatetime = MouseClickDateTime;
vClickPrice = MouseClickPrice;
end;
clickdate = juliantodate(vclickdatetime);
clicktime = datetime2eltime_s(vclickdatetime);
If vclickPrice > vClickBarHigh then UpArrow = False else UpArrow = True;
value1 = arw_new_self_s(clickdate,clicktime,vclickprice,uparrow);