Signal Input Parameter Change in Real-Time

Questions about MultiCharts and user contributed studies.
jrgmak
Posts: 12
Joined: 10 Oct 2012
Has thanked: 3 times

Signal Input Parameter Change in Real-Time

Postby jrgmak » 27 Dec 2017

If my signal has already bought an index futures and is waiting for the opportunity to sell it, but I wish to change the input parameters of the signal while it is still holding the futures. Should I just go ahead and change the parameters real time, or I need to terminate the signal, change it and run it again? :oops: :oops: :oops:

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Signal Input Parameter Change in Real-Time

Postby TJ » 27 Dec 2017

If you change the input parameters, the strategy will recalculate.
When it restarts, you can enter your open position in strategy.

jrgmak
Posts: 12
Joined: 10 Oct 2012
Has thanked: 3 times

Re: Signal Input Parameter Change in Real-Time

Postby jrgmak » 28 Dec 2017

If you change the input parameters, the strategy will recalculate.
When it restarts, you can enter your open position in strategy.



Many thanks for your reply. But if I stop the strategy, change the input parameters, compile it and rerun it, MarketPosition in the strategy will be zero without taking into account that the strategy actually has one open long position before the compilation. Is there a way to set the MarketPosition to 1 when I rerun the strategy again?

User avatar
ABC
Posts: 718
Joined: 16 Dec 2006
Location: www.abctradinggroup.com
Has thanked: 125 times
Been thanked: 408 times
Contact:

Re: Signal Input Parameter Change in Real-Time

Postby ABC » 28 Dec 2017

jrgmak,

you could assign the broker position to your strategy (https://www.multicharts.com/trading-sof ... r_Settings) or change the inputs via an indicator that could for example send the input values to your strategy via Global Variables. The latter would not require you to stop the strategy.

Regards,

ABC


Return to “MultiCharts”