Hi,
I'm hoping that someone would be able to help. I'm trying to get/store the open/close/low/high of a candle that had a trade triggered of it.
The trades will be triggered of a simple wma cross over but i would like to store that candle data for future use, ie Tp Sl ect.
Was thinking of something like a tick counter that would increment for every bar after entry bar and then use that to get the value of it. Not sure how to code this.
Thank you,
I'm hoping that someone would be able to help. I'm trying to get/store the open/close/low/high of a candle that had a trade triggered of it.
The trades will be triggered of a simple wma cross over but i would like to store that candle data for future use, ie Tp Sl ect.
Was thinking of something like a tick counter that would increment for every bar after entry bar and then use that to get the value of it. Not sure how to code this.
Thank you,