This video walkthrough builds a crude oil (MCX) strategy and covers three useful techniques:
- Avoid re-entry after the target or stop-loss is hit while the indicator conditions are still true.
- Set the stop-loss from recent candles: use a runtime variable to store the minimum of the previous one and two candles.
- Set the target at 2x the stop-loss automatically.
Before you deploy on MCX
- MCX needs its own plan (the India MCX exchange set). An NSE/NFO/BFO plan does not cover MCX. Check the pricing page and select the MCX exchange set.
- Use the MCX expiry keywords (MCX Fut Expiry / MCX Option Expiry) and ATM (not ATM SPOT) for MCX option strikes.
- Test in Live Offline first.
This is an educational example, not a trading recommendation.
Edited with AI from the original Tradetron article, checked against current docs (Oct 2026). Spot something wrong? Tell us in the Community.