I have a script I am trying to convert from WealthLab to TradersStudio regarding Bollinger Band.
What I did in WealthLab -
I want to Limit Short today based on yesterday's BollingerBand (#High, Period of 10 bars ago, using 1.5)
ShortAtLimit( Bar + 1, ( BBandUpper( Bar, #High, 10, 1.5 ) * 1.30 ), '');
In TradersStudio, I have:
Sell("Sell",1, UpperBolBand(High,10,1.5,1)*1.3, Limit, day)
However, it does not seem to work and I am wondering if I got the last argument, which is on shift, right. Any help will be useful. Thanks. |