I am building a strategy and using Bollinger band as a indicator using wizard. My condition is as below. Please note I am new and trying to do this using wizard. So don't want to unlock and add code.
if (CrossBelow(Close, Bollinger(2, 14).Lower, 1))
{
EnterLong(DefaultQuantity, "LongOrder");
}
// Condition set 2
if (CrossAbove(Close, Bollinger(2, 14).Upper, 1))
{
ExitLong("SellLong", "");
My problem is order is always entered at open price and not closing price. Order is always closed at again open price and not at closing price of a bar.
This reduces my profit. Is there another way to do this within a wizard?
Comment