How to make automatic switch ?
-
I am trying to fix a problem of alert. I want alert only when trading mode change from Enable to disable or vice versa but I am confuse how to limit this, currently I know about once a bar, day, candle, hour etc only but these are not helpful in my problem as these give alert again on changing of new bar, day, candle, hour etc.
https://fxdreema.com/shared/yze9EsRQc -
@forexbob-0 Firstly, you can remove that 'Pass' block. it is unnecessary there. Then I don't fully understand what you mean. Do you want to create two buttons Enable/Disable maybe?
-
@l-andorrà I just want a notification when trading get
- enabled from disabled state
- disabled from enabled state.
For example:
First case :- As if broker disable the trading on certain news from an enable state then I should get notification "Trading Disabled" and when it again allow the trading from disabled state then I should get notification "Trading enabled"
Second case: If EMA cross upward I should get notification only one time on crossover both upward and downward.
Issue I am facing now is, If I use "once a bar, a day, a hour" block it send notification on each bar again and again, if a day block used it get limited to once a day only and so on. So how to control these
-
@forexbob-0 I'm afraid the first part will need a programer to do that. No bloak of fxDreema can do that AFAIK. On the second one, you can simply do this:

That way the notification will be sent just when the corssing is confirmed and not every new bar.
-
@l-andorrà Thank you
-
@forexbob-0 You're welcome.