Having as base the indicator Position Display Indicator:
I'm making it some customizations to calculate the lower Unrealized Account Balance value that if reached then it means the trading strategy has failed. Lower Unrealized Account Balance value = lower Net Liquidation value.
Now what I need is that if this event happens, then that the indicator put a mark of this event:
- Displaying in red color the date and exact time (hh:mm:ss) it has happened.
- If possible and for better visual illustration, that in addition to the previous, that the indicator also draws a vertical time line in red color showing the moment the event took place.
I need a guide about how to add these 2 features to the indicator.
I need this works either in Live, in Demo, in Simulated or in Playback (Market Replay), but knowing the playback could be in a high running speed and I'm not sure if an indicator can make its calculations tick-by-tick or at least change-by-change or at least second-by-second when the playback speed is in 500x or Max speed, I'm not sure if a indicator can read any change between time-by-time when the playback process is for example in 1,000x, or if it just is able to work with the current time after any run time change, for example if the time jumps form 10 minutes to 10 minutes, I’m not sure if the indicators can read the changes that happened into every 10 minutes jump.
Thank you

Comment