I hope you experts out there can spare a moment to help me.
Using the Wizard, I am trying to create a strategy where I enter long in an uptrend when the current price falls back to touch the price of the lower Bollinger band value of the last bar that has printed. Exit when the price touches the price of the upper band value of the last bar that has printed. This is not on bar close.
I use my judgement as to the trend. It's just the Bollinger band bit I am having trouble with.
I have tried but can not get the strategy to trigger in live Simulation. I am very much a novice. This is as far as I have got.
Condition 1
cross below(GetCurrentBid(),Bollinger(1.8, 14).Lower, 1)
EnterLongLimit(DefaultQuantity, 0,"")
Condition 2
CrossAbove(GetCurrentAsk(), Bollinger(1.8, 14). Upper, 1)
ExitLongLimit(0,"","")
I am not clear whether to be 1 bar ago, look back 1 bar, whether to use ask or bid, whether to use <=, >= or cross above , below. Would prefer<= and >= if it can work.
Help please.
Thanks
Comment