Input:
- Renko box size
- Trading hours
- Sl and tp
- Consecutive lost trade count to suspend automatically trading (default 3)
- Suspend automatically trading for minutes (default 30)
- Last Renko bar is bull bar and no long trade exists.
- Close existing short trade if any, or if no short trade existed delete any pending long order if any.
- Place a long pending limit trade with pending price as last bar close price – (half brick size + spread)
- Last Renko bar is bear bar and no short trade exists.
- Close existing long trade if any, or if no long trade existed delete any pending short order if any.
- Place a short pending limit trade with pending price as last bar close price + (half brick size + spread)
If it had preset ( say 3) consecutive lost trades, automatically trading will be suspending for preset minutes. After preset minutes, automatically trading will resume.
Comment