Michael
Again the efs is working in real time and correctly.
What you are seeing though is an effect of how lines are colored by the efs.
In the first image you can see that a new bar has just formed, the MA is now rising and the Oscillator is still declining. The line though appears to be still red but the label on the Y-Axis and in the Cursor Window have already turned white.
This happens because the color of a line is determined by the color of the last point going forward. See also this post for a more detailed explanation.
If you were to change the plot from PLOTTYPE_LINE to PLOTTYPE_DOT you would see that it is actually already plotting in real time in white.
There is a solution but it is not available using Formula Wizard. Open the efs with the Editor and replace
setPlotType(PLOTTYPE_LINE, 0);
with
setPlotType(PLOTTYPE_INSTANTCOLORLINE, 0);
The resulting plot will be as in the following image ie. it colors the line "backwards".
Hope this helps
Alex
Again the efs is working in real time and correctly.
What you are seeing though is an effect of how lines are colored by the efs.
In the first image you can see that a new bar has just formed, the MA is now rising and the Oscillator is still declining. The line though appears to be still red but the label on the Y-Axis and in the Cursor Window have already turned white.
This happens because the color of a line is determined by the color of the last point going forward. See also this post for a more detailed explanation.
If you were to change the plot from PLOTTYPE_LINE to PLOTTYPE_DOT you would see that it is actually already plotting in real time in white.
There is a solution but it is not available using Formula Wizard. Open the efs with the Editor and replace
setPlotType(PLOTTYPE_LINE, 0);
with
setPlotType(PLOTTYPE_INSTANTCOLORLINE, 0);
The resulting plot will be as in the following image ie. it colors the line "backwards".
Hope this helps
Alex
Comment