rsi and cci trading strategy

rsi and cci trading strategy
Download ALL MT4 scripts (422)
YouTube Video Thumbnail



Similar MetaTrader Tools

rsi and cci trading strategy

Info

The rsi and cci trading strategy is a Script for MetaTrader 4 that rsi and cci trading strategythis strategy aims for high entry accuracy and profitability, though achieving 100% entry precision was not attained. optimizations were not performed; testing utilized parameters considered suitable for the currency pair.

Usage

This tool is typically used for enhancing chart analysis and decision making.

Platform

This Script works exclusively on MetaTrader 4 (both build 600+ and newer versions).

Setup

Place the downloaded file in MQL4/Scripts folder via File ? Open Data Folder in MetaTrader 4.


How to Install and Use rsi and cci trading strategy

1. Installation: Move your script file into the MQL/Scripts directory and restart the platform.

2. Execution: Drag the script onto a chart; it will perform a one-time action, such as closing all open orders or clearing chart objects.

3. Editing: Use MetaEditor (F4) to modify code, click "Compile," and verify no errors appear in the terminal before running.

4. Removing: Scripts stop automatically, but you can remove them manually by right-clicking the chart and choosing "Remove Script."

Frequently Asked Questions

Q: How are scripts different from EAs? A: Scripts execute a single action and then stop; EAs monitor the market and trade continuously.

Q: Can I assign a hotkey to a script? A: Yes, right-click the script in the Navigator, select "Set Hotkey," and define your preferred keyboard shortcut.

Q: Why did my script stop? A: Scripts are designed to stop immediately after finishing their programmed command; this is normal behavior.

What this tool does

rsi and cci trading strategythis strategy aims for high entry accuracy and profitability, though achieving 100% entry precision was not attained.

Typical Use Case

This Script excels in automated trading and technical analysis on MetaTrader 4.

Compatible Platform & Setup

This Script works on MetaTrader 4. Place the file in the MQL4/Scripts folder and restart the terminal.

Description & Settings

Related: automated economic calendar trading advisor - another powerful script for MetaTrader 4 traders.

rsi and cci trading strategy

this strategy aims for high entry accuracy and profitability, though achieving 100% entry precision was not attained. optimizations were not performed; testing utilized parameters considered suitable for the currency pair.

Also recommended: cm insurer: strategy for managing losing positions - similar script with strong performance on MetaTrader 4.


key parameters:

startlots
- initial lot size.

maxlot
- maximum allowable lot size.

depo
- automatic lot size increase based on deposit growth. if set to 0, this feature is disabled.

rsiperiod
- period for the rsi indicator.

rsiprice
- price type used for rsi calculation.

rsichannel
- distance from the 0 line for indicator crossovers.

cciperiod
- period for the cci indicator.

cciprice
- price type used for cci calculation.

ccichannel
- distance from the 50 line for indicator crossovers.

scallngcoef
- coefficient to scale cci to the same magnitude as rsi.

martin
- lot multiplier after a losing trade.

stoploss
- stop loss level.

takeprofit
- take profit level.

trailstart
- profit in points at which trailing stop is activated.

traildistance
- distance from the price at which the trailing stop will appear.

trailstep
- step size for trailing stop movement.

newcycle
- true/false. if true, the ea restarts with the initial lot size. if false, the ea multiplies the last lot size by martin after a losing trade.

magic
- identifier for the ea to distinguish its trades from others.

slippage
- maximum allowed slippage.

timeout
- time in seconds to resend orders if the initial attempt fails.

testing results

gbpusd 01/01/2026 - 08/25/2026

You may also like: convert real tick data to strategy tester fxt files - excellent alternative for script users on MetaTrader 4.

Source Code

#property version   "1.00"
#property strict
extern double StartLots=0.1;
extern double MaxLot=10;
input int Depo=0;
input int      RsiPeriod=14;
input ENUM_APPLIED_PRICE  RsiPrice=6;
input int      RsiChannel=10;
input int      CciPeriod=14;
input ENUM_APPLIED_PRICE  CciPrice=6;

.......

Leave your opinion, ask a question, share some knowledge

Limitations & Risk Warning

  • This tool is provided for educational and testing purposes only.
  • Past performance does not guarantee future results.
  • Trading involves substantial risk of loss. Use on a demo account first.
  • Results may vary depending on market conditions, broker, and settings.
  • We recommend thorough backtesting and forward testing before using with real funds.
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.