Cross over

Questions about MultiCharts and user contributed studies.
kinwai
Posts: 89
Joined: 03 May 2019
Has thanked: 12 times
Been thanked: 1 time

Cross over

Postby kinwai » 23 Dec 2019

Hi all,

May be a simple question, when I use 30 mins timeframe of the below code, if I want any price cross over var0 but not the bar close price, the only way is to enable IOG?

Code: Select all

If close cross over var0 then Signal = true;

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

Re: Cross over

Postby TJ » 23 Dec 2019

Your question is not definitive.

All strategies are calculated at EOB (End of Bar).
Unless IOG is enabled, then the strategy is calculated every tick.

However,
in your example above, you are setting a condition, not an order.

What are you asking?
Do you want to submit an order intra-bar?
Or do you want to change a condition intra-bar?

kinwai
Posts: 89
Joined: 03 May 2019
Has thanked: 12 times
Been thanked: 1 time

Re: Cross over

Postby kinwai » 24 Dec 2019

Thanks for your prompt response.

I want to change the condition (Signal value) and check it to submit order if true.


Return to “MultiCharts”