cBot
NAS100
NZDUSD
Forex
Fibonacci
EURUSD
MACD
BTCUSD
SMC
Indices
Stocks
Breakout
XAUUSD
FVG
Commodities
Signal
Bollinger
GBPUSD
AI
VWAP
ZigZag
Prop
Supertrend
Crypto
USDJPY
Scalping
CRT_Level

07/10/2025
Desktop, Mobile, Web



The cBot that uses the CRTIndicator to generate trading signals.
The idea is:
- Buy when the current price is at or near the CRT Low (red line) of a specified historical candle.
- Sell when the current price is at or near the CRT High (green line) of a specified historical candle.
- Use the CRT 50% (yellow line) as a take profit level for both buy and sell trades.
- Also, we can use the opposite CRT level (CRT High for buy and CRT Low for sell) as a stop loss.
Key Features of this cBot:
- Entry Signals:
- Buy: When price approaches the CRT Low (red line)
- Sell: When price approaches the CRT High (green line)
- Exit Strategy:
- Take Profit: Set at CRT 50% (yellow line) when
UseCRT50Levels
is enabled - Stop Loss: Set beyond the CRT Low for buys or beyond CRT High for sells
- Take Profit: Set at CRT 50% (yellow line) when
- Smart Updates:
- Only updates stop loss when the new level is better than current
- Processes all open positions on each tick
- Works alongside your existing CRT strategy
- Risk Management Benefits:
- Locks in profits once position moves 5 pips in your favor
- Protects against reversals while allowing room for normal price fluctuations
- Automatically adjusts as trade continues in your favor
- Risk Management:
- Configurable position sizing
- Maximum position limits
- Flexible stop loss and take profit settings
- Parameters:
Candle Index
: Which historical candle to use for CRT levelsVolume
: Trade size in lotsStop Loss Pips
: Fixed stop loss if not using CRT levelsTake Profit Pips
: Fixed take profit if not using CRT levelsUse CRT 50% as TP/SL
: Toggle between CRT-based or fixed TP/SLMax Positions
: Prevent over-trading
- Safety Features:
- Validates stop loss and take profit levels
- Checks for sufficient historical data
- Prevents duplicate positions in same direction
Usage Notes:
- The bot uses a tolerance zone (2 pips by default) to detect when price is "at" the CRT levels
- You can toggle between using the CRT 50% level for TP/SL or fixed pip distances
- The bot includes extensive logging to monitor performance
- Test thoroughly in demo mode before live trading
Important Notes:
- Test First: Always test this bot on a demo account first
- Risk Management: The bot uses the CRT 50% level as take profit and extends beyond the CRT Low/High for stop loss
- Monitoring: Keep an eye on the prints in the Experts tab to monitor bot performance
- Adjust Parameters: You may need to adjust the
Level Tolerance
andCandle Index
based on your trading style and timeframe
This version should compile without errors and work with the current cAlgo API. The bot will enter trades when price approaches the CRT levels and use the 50% level as take profit target.
Make sure your CRT indicator is properly compiled and available in your cTrader platform before running this cBot.
Potrebbe interessarti anche