Hello,
I’m new to the world of indicator programming and I would like to understand how it works.
When you write an indicator, how often is the code executed ? every tick ? Is there a way to change the frequency of execution ?
My goal would be to write a simple indicator that tags the candles that are bigger than the last 5 candles, and use this indicator inside a strategy to check at the end of each candle if it is tagged (and if it is, make a trade).
I have written the indicator but I have some doubts about how frequently its code is executed, and I want to be sure about how to call it from the strategy. Since I only want to get the state of a candle “when it ends”.
FYI I’m using prorealtime 10.3 at the moment.
Thanks for your feedback, I hope what I’m asking is clear 🙂
Guillaume