Calling a OnTick block COMMENT inside the OnBookEvent block

 

Hello all,

I've been coding a EA of mine that calls both events that happen OnTick and OnBookEvent. Id like to plot both of them on the chart, but i cant seem to do so without one "flashing" the other. Everytime a BookEvent happens, the BookEvent comment shows up and "erases", "flashes" , "over-pose" the OnTick comment.

I've tried naming the comment string of the OnTick block as a GlobalVar and then calling it from inside the OnBookEvent block comment line, but it doesn't happen, probably because its a string, and not a double.

i've made a little GIF so i can show what i mean: http://i.imgur.com/dqun9wx.gifv

Any ideas are welcome!

thanks a lot

 

I seem to have done it.. it appears that one can convert each and everyone of the doubles (and integers) inside one block (OnTick) into a "GlobalVarSet" and them call them on the other block (OnBookEvent) with "GlobalVarGet" without much being lost in the middle.

Reason: