AllowSendOrdersAlways = true with IntrabarOrderGeneration = false

Questions about MultiCharts and user contributed studies.
User avatar
ABC
Posts: 721
Joined: 16 Dec 2006
Location: www.abctradinggroup.com
Has thanked: 125 times
Been thanked: 409 times
Contact:

AllowSendOrdersAlways = true with IntrabarOrderGeneration = false

Postby ABC » 05 Sep 2023

Hi Multicharts team,

the combination of the attributes AllowSendOrdersAlways = true and IntrabarOrderGeneration = false inside a strategy will result in the code getting computed with every tick in real time.
Is this intended behavior, as one might think IntrabarOrderGeneration = false would prevent that ( and if I correctly recall, it did at one point)?

Regards,

ABC

User avatar
Vlada MultiCharts
Posts: 293
Joined: 22 Apr 2020
Has thanked: 8 times
Been thanked: 76 times

Re: AllowSendOrdersAlways = true with IntrabarOrderGeneration = false

Postby Vlada MultiCharts » 06 Sep 2023

Hello ABC,

Since MultiCharts 11, AllowSendOrdersAlways = true causes the script to be calculated on each tick in real time even if IntrabarOrderGeneration = false. It is required for the correct operation of AllowSendOrdersAlways, so we cannot change the behavior.

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

Re: AllowSendOrdersAlways = true with IntrabarOrderGeneration = false

Postby ABC » 06 Sep 2023

Hello Vlada,

thank you for your reply. Would it be possible to update the wiki for AllowSendOrdersAlways to reflect that?

Thank you,

ABC

User avatar
Vlada MultiCharts
Posts: 293
Joined: 22 Apr 2020
Has thanked: 8 times
Been thanked: 76 times

Re: AllowSendOrdersAlways = true with IntrabarOrderGeneration = false

Postby Vlada MultiCharts » 06 Sep 2023

Hello Vlada,

thank you for your reply. Would it be possible to update the wiki for AllowSendOrdersAlways to reflect that?

Thank you,

ABC
ABC,

Sure, we will add this info to the wiki article. PowerLanguageEditor Help will also be updated in one of the nearest releases.


Return to “MultiCharts”