Autor original:
Mohammad Soubra
- El Índice de Canal de Materias Primas o CCI es un excelente indicador en los mercados financieros, incluyendo el forex.
- Se utiliza aquí solo como ejemplo para programadores (no es un EA rentable).
- Se basa en el precio típico del CCI para abrir órdenes de compra/venta bajo las siguientes condiciones:
double CCI_Typical_Curr=iCCI(NULL,0,CCIPeriod,PRICE_TYPICAL,0); double CCI_Typical_Prev=iCCI(NULL,0,CCIPeriod,PRICE_TYPICAL,1); // Aquí está la regla de apertura de compra if((CCI_Typical_Prev<-90) && CCI_Typical_Curr>-80) // Aquí está la regla de apertura de venta if((CCI_Typical_Prev>90) && (CCI_Typical_Curr<80))
- Con algunas entradas fantásticas como las siguientes:
input string separator1="--------------- OPCIONES DE OPERACIONES ---------------";// ENTRADAS DE TRADING >> >> >> >> input int TradesDuplicator=3;//Duplicador de operaciones input double Lots=0.03;//Tamaño de lote fijo input int MagicNumber=1982;//ID de operaciones 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="--------------- OPCIONES CCI ---------------";// ENTRADAS CCI >> >> >> >> input int CCIPeriod=9;//Período CCI input string separator3="--------------- COLORES EN EL GRÁFICO ---------------";// COLOR DE FLECHA DE OPERACIONES >> >> >> >> input color BuyArrowOpen=clrBlue;//Color de flecha de compra input color SellArrowOpen=clrRed;//Color de flecha de venta input color ModificationArrow=clrWhite;//Color de flecha de operaciones modificadas


Recomendaciones:
- Este es solo un ejemplo para esta biblioteca comunitaria, no para trading real.
- Siéntete libre de actualizar/modificar el código, ya sea tú mismo, un tercero o yo mismo...
- ¡Cuídate!
Comentarios 0