Her is part of my code,
Code: Select all
If marketposition=0 and SomCondition then
setstoploss((LastTop + 3 - Close) * 25);
SellShort ("se") this bar;
The setstoploss is never translated into a limited buy order ? The stop profit is When i move the SetStoploss outside the if it works, but I only know the stop loss calculation based on other settigns.