Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Sistemi Esperti

Example of Commodity Channel Index Automated - sistema esperto per MetaTrader 4

Mohammad Soubra
Pubblicati da::
Mohammed Abdulwadud Soubra
Visualizzazioni:
12745
Valutazioni:
(12)
Pubblicato:
2016.03.30 13:12
Aggiornato:
2016.11.22 07:32
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a 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.