Alerts only sent if automation is on?  [SOLVED]

Questions about MultiCharts and user contributed studies.
DaveAronow
Posts: 72
Joined: 20 Apr 2014
Has thanked: 9 times
Been thanked: 8 times

Alerts only sent if automation is on?

Postby DaveAronow » 31 Jan 2016

Sorry I'm not clear from the documentation, but are strategy alerts only sent if automated execution is enabled?

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: Alerts only sent if automation is on?  [SOLVED]

Postby JoshM » 31 Jan 2016

Sorry I'm not clear from the documentation, but are strategy alerts only sent if automated execution is enabled?
Strategy alerts are generated always when their condition satisfies, which can be on real-time data, playback data, or when the strategy's auto trading is enabled or not.

If you want your alerts to only generate when automated trading is enabled, use `GetAppInfo(aiStrategyAuto)` as a filter since that will return 1 if automated trading is enabled for the script and 0 in all other cases.

For more info, see GetAppInfo.


Return to “MultiCharts”