Need Tradescript code for following startegy.
A. Condition for Buy : Met all three conditions simultaneously.
01. 15 min candle CLOSE above Upper Bollinger Band
And
02. DI+ CLOSE at or above 40.
And
03. MACD is grater than 0.
B. Condition for Sell : Met all three conditions simultaneously.
01. 15 min candle CLOSE below Lower Bollinger Band
And
02. DI- CLOSE at or above 40.
And
03. MACD is less than 0.
This scan will perform in every 15 minute for example, 1st scan runs at 9:15 then 9:30 then 9:45 and so on.