Disable of entry orders

Questions about MultiCharts and user contributed studies.
monexx
Posts: 87
Joined: 20 Feb 2014
Has thanked: 26 times
Been thanked: 7 times

Disable of entry orders

Postby monexx » 21 Nov 2014

Hello,
Could anyone advise how to disable long entry and short entry?

For example: some condition then buy entry = false

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 559 times

Re: Disable of entry orders

Postby Andrew MultiCharts » 21 Nov 2014

Hello monexx,

Example:

Code: Select all

Var: NoLongEntry(false);

NoLongEntry = false;

If condition1 = true then NoLongEntry = true;

If condition2 = true and NoLongEntry = False then buy next bar market;


Return to “MultiCharts”