Ugh I have been working with it for days and cant get my head around it. .
I want to place a vertical line @ a particular moment. . Okay -- simple enough-- oninit/Drawline();
However can I get the ea to operate from there on the chart (where the first point is drawn) up till TimeCurrent();? Do I use a for loop in the oninit area-- bringing me to the current time and have the ontick take over?
For(datetime I=start;ilt;TimeCurrent();I )
Or
Do I use a for loop in the ontick area with a start date which == my start time and date?
And
will the for loop run every time a new tick comes in and once a new candle comes in ? How can I only create the for lope run through once then let tick take more than with a CheckSignal() function?