Strategy Indicators: Bollinger Band, Bollinger Band Width%, RSI, Volume, Simple Moving Average The strategy should have codes for above indicators, though BB will be use primarily but would like to see different indicators combination as well. Keep these indicators as input parameter with option to enable to disable as well. For example, if BB enable is true then its settings to change std deviation, moving average length can be change accordingly. Risk Management & Position Sizing: Lot size is never hardcoded in my trading style, I want input field for below things so that I can change as per my need • Initial Capital – 1000(default) • Risk Reward($) – 1:2 default. Which means if I am risking 1 % of capital i.e. 1000 * 1% = 10 so here my risk is 10 and reward should be 20 dollars and these parameters help me drive thos things • Trailing SL – step by 0.5, 1,1.5, etc.( will explain during the actual strategy) • Risk % = float numeric field with value can be enter in (0.2,0.3, 1,2, etc.) these denotes (0.2 %, 0.3%, 1%,2%) • Lot size = Now based on risk %, the strategy should decide how much lot to buy CandleStick Types: I would like to test the strategy with few candlestick types as well so please add the code and provide those candlestick type input field with option to enable(true/false). If I enabled true to two cnadlesticks then it will always go as OR condition in code, in code this should be handle with flag of 0 and 1 See the appendix section for list of candlestick types Time Window For When Not To Trade: Four time window input parameter to define when not to take trade, call it T1, T2, T3, T4. All these time windows should have a range of time period, If selected then put that as a condition in our code. Strategy Algo: (Default Timeframe – 15 mins) For Bearish Setup: 1. Entry Condition 1: (Name this EC1 Short - Aggresive) – This is default for short setup a. Current Candle closed below upper Bollinger Band let’s say P1 b. Previous 15 min candle closed outside upper Bollinger Band. Let’s call it P2 c. Put Sell Stop order below the low of current closed candle (P1 low – sell stop order) d. If next candle breaks the low of P1 candle than trade entry executed, if next 15 min candle fails to break below low of P1 candle then cancel trade 2. Entry Condition 2: (Name this EC2 Short - Conservative) a. Current Candle closed below upper Bollinger Band let’s say P1 b. Previous 15 min candle closed outside upper Bollinger Band. Let’s call it P2 c. Next candle after P1 breaks P1s low then reverses back and closes again below P1 low (let’s called this N1 candle) d. Once N1 candle forms then place sell limit order at low of P1. Cancel the order if not executed by next 15 min candle 3. Stop Loss: Input field of dropdown to select type of stop loss, similar goes for Entry condition selection a. Short SL Aggressive (Default) - > high of P1 Candle b. Short SL Conservative - > Max of P1 P2 High 4. Position Sizing: Very Important a. Risk Value = Difference between entry price and stop loss, let’s say for 0.1 lot in dollar it is 50 $ b. Risk Percent = 1%, let say this is 10 $ c. So here my lot size would be 0.02 d. What it means here is, that for the trade which I am going to take, If I bought 0.02 lot than I will not lose more than 10$ 5. Target & Trail SL & Exit Criteria: a. 1:2 Risk is our target (example, let’s say we have taken 10$ SL trade than first target should be 20$) b. We are not placing target orders during our entry and sl order placement, rather once the entry happens we will keep checking the price, once 1:2 target price reaches we will trail SL to that price c. After the SL trail to 1:2 price, wait for price. If it crosses above then exit. If it goes below than do nothing unless that price reaches 1:3 level. d. Once price reaches 1:3 level then trail the SL to 1:2.5 level (the step limit of 0.5 is define through input parameter as mentioned in 1st page) e. So Ideally there is no fix target, rather a dynamic target that triggers whenever the price crosses above that level For Bullish Setup: 1. Entry Condition 1: (Name this EC1 Long - Aggresive) – This is default for short setup a. Current Candle closed above lower Bollinger Band let’s say P1 b. Previous 15 min candle closed below(outside) lower Bollinger Band. Let’s call it P2 c. Put Buy Stop order above the high of current closed candle (P1 high – buy stop order) d. If next candle breaks the high of P1 candle than trade entry executed, if next 15 min candle fails to break above high of P1 candle then cancel trade 2. Entry Condition 2: (Name this EC2 Long - Conservative) a. Current Candle closed above lower Bollinger Band let’s say P1 b. Previous 15 min candle closed below(outside) lower Bollinger Band. Let’s call it P2 c. Next candle after P1 breaks P1s high then reverses back and closes again above P1 high (let’s called this N1 candle) d. Once N1 candle forms then place buy limit order at high of P1. Cancel order if not executed in next 15 min candle 3. Stop Loss: Input field of dropdown to select type of stop loss, similar goes for Entry condition selection a. Long SL Aggressive (Default) - > low of P1 Candle b. Long SL Conservative - > Min of P1 P2 Low 4. Position Sizing: Very Important a. Risk Value = Difference between entry price and stop loss, let’s say for 0.1 lot in dollar it is 50 $ b. Risk Percent = 1%, let say this is 10 $ c. So here my lot size would be 0.02 d. What it means here is, that for the trade which I am going to take, If I bought 0.02 lot than I will not lose more than 10$ 5. Target & Trail SL & Exit Criteria: a. 1:2 Risk is our target (example, let’s say we have taken 10$ SL trade than first target should be 20$) b. We are not placing target orders during our entry and sl order placement, rather once the entry happens we will keep checking the price, once 1:2 target price reaches we will trail SL to that price c. After the SL trail to 1:2 price, wait for price. If it crosses below then exit. If it goes below than do nothing unless that price reaches 1:3 level. d. Once price reaches 1:3 level then trail the SL to 1:2.5 level (the step limit of 0.5 is define through input parameter as mentioned in 1st page) e. So Ideally there is no fix target, rather a dynamic target that triggers whenever the price crosses below that level Appendix: 1. Do not enter a trade if there is already an open position for an instrument 2. List of candlestick types Bullish Reversal Candlestick Patterns Bearish Candlestick Pattern Continuation Candlestick Patterns 1. Hammer 2. Piercing Pattern 3. Bullish Engulfing 4. The Morning Star 5. Three White Soldiers 6. White Marubozu 7. Three Inside Up 8. Bullish Harami 9. Tweezer Bottom 10. Inverted Hammer 11. Three Outside Up 12. On Neck Pattern 13. Bullish Counterattack 14. Hanging man 15. Dark cloud cover 16. Bearish Engulfing 17. The Evening Star 18. Three Black Crows 19. Black Marubozu 20. Three Inside Down 21. Bearish Harami 22. Shooting Star 23. Tweezer Top 24. Three Outside Down 25. Bearish Counterattack 26. Doji 27. Spinning Top 28. Falling Three Methods 29. Rising Three Methods 30. Upside Tasuki Gap 31. Downside Tasuki Gap 32. Mat Hold 33. Rising Window 34. Falling Window 35. High Wave