Schau, wie man Roboter kostenlos herunterladen kann
Finden Sie uns auf Facebook!
und werden Sie Mitglied unserer Fangruppe
Interessantes Skript?
Veröffentliche einen Link auf das Skript, damit die anderen ihn auch nutzen können
Hat Ihnen das Skript gefallen?
Bewerten Sie es im Terminal MetaTrader 5
Expert Advisors

Example of Commodity Channel Index Automated - Experte für den MetaTrader 4

Mohammad Soubra
Veröffentlicht:
Mohammed Abdulwadud Soubra
Ansichten:
12704
Rating:
(12)
Veröffentlicht:
2016.03.30 13:12
Aktualisiert:
2016.11.22 07:32
Benötigen Sie einen Roboter oder Indikator, der auf diesem Code basiert? Bestellen Sie ihn im Freelance-Bereich Zum Freelance

Real author:

Mohammad Soubra

  • Commodity Channel Index or CCI is a great indicator in financial markets (forex too).
  • it is used here as an example only for coders (not a profitable EA).
  • it depends on the typical price of CCI to open buy/sell orders as below conditions:
double CCI_Typical_Curr=iCCI(NULL,0,CCIPeriod,PRICE_TYPICAL,0);
double CCI_Typical_Prev=iCCI(NULL,0,CCIPeriod,PRICE_TYPICAL,1);

// Here is the open buy rule
if((CCI_Typical_Prev<-90) && CCI_Typical_Curr>-80)
// Here is the open Sell rule
if((CCI_Typical_Prev>90) && (CCI_Typical_Curr<80))
  • with some fantastic entries as in the following:
input string separator1="--------------- TRADES OPTIONS ---------------";//TRADING INPUTS >> >> >> >>
input int    TradesDuplicator=3;//Trades Duplicator
input double Lots=0.03;//Fixed Lot Size
input int    MagicNumber=1982;//Trades ID
input double StopLoss=50;//Stop Loss
input double TakeProfit=200;//Take Profit
input int    TrailingStop=50;//Trailing Stop
input int    Slippage=3;
input string separator2="--------------- CCI OPTIONS ---------------";//CCI INPUTS >> >> >> >>
input int    CCIPeriod=9;//CCI Period
input string separator3="--------------- ON CHART COLORS ---------------";//TRADES ARROW COLOR >> >> >> >>
input color  BuyArrowOpen=clrBlue;//Buy Arrow Color
input color  SellArrowOpen=clrRed;//Sell Arrow Color
input color  ModificationArrow=clrWhite;//Modified Trades Arrow Color

Recommendations:

  • This is just an example for this community library, not for trading.
  • Feel free to update/modify the code by me, yourself or even a 3rd party coder...
  • Take Care!
Harami  MA RSI MACD Harami MA RSI MACD

Harami slightly modified.

Auto Trade (RSI) Auto Trade (RSI)

This is my first expert totally based on RSI.

Multi TimeFrame MovingAverages Multi TimeFrame MovingAverages

Show multi timeframe Moving Average on one chart.

EA Hedge Average EA Hedge Average

Expert Advisor created using hedge function and the moving average indicator.