Page 1 of 1

Can I use the script to get the time when signals changes on bar moving at Playback/RealTime mode?

Posted: Jun 25 2024
by Morgan
Hi, Team,

The example situatuin is in "one hour" bars (ex: 9:00-10:00) ,
the strategy will entry/exit when bar still moving (ex: buy next bar at high[1]+100 stop; )
Whether I can get the exact time when the signals entry/exit on Playback/Realtime mode? (ex: 9:37 entry)

Thanks and look forward to your reply.

Re: Can I use the script to get the time when signals changes on bar moving at Playback/RealTime mode?

Posted: Jul 01 2024
by Polly MultiCharts
Hello Morgan,

During auto trading in real time, you can use additional calculation events that you can enable in Format Signal → Properties tab → Generate orders on broker events sections.
For Simulated Trading there is no pre-built option, but you can post the suggestion to post a keyword that returns the local Simulated trading time at our Project Management.
If it is popular among our users, our developers will review the possibility of adding it.