has anyone an idea, why this EnterShortStop will never be executed ?
When I just used the EnterShort it works.
if (
Close[3] > Open[3] // pos
&& Close[2] > Open[2] // pos
&& Close[1] > Open[1] // pos
&& Close[0] < Open[0] // neg
&& Close[3] < Close[2]
&& Close[2] < Close[1]
&& Open[1] > Close[0]
)
{
// EnterShort();
EnterShortStop(DefaultQuantity, Close[0], "");
}
It's a simple simulation for a retracement after a rally.
thanks Ali
Comment