Complex Common Indicator For MT4
Ο Complex Common Indicator For MT4 σάς παρέχει ακριβείς πληροφορίες σχετικά με την κατάσταση υπεραγοράς και υπερπώλησης των ζευγών νομισμάτων. Οι υπολογισμοί βασίζονται στα νομίσματα βάσης και προσφοράς και η πρόσφατη κίνηση των τιμών υπογραμμίζεται στην κίνηση των τιμών. Όταν η καμπύλη του δείκτη διευρυνθεί, θα πρέπει να αναζητήσετε μια τάση στην αγορά και αυτό θα μπορούσε να δημιουργήσει μια μεγάλη κερδοφορία ευκαιρία. Αντίθετα, προσπαθήστε να παραμείνετε στην πλάγια γραμμή όταν οι καμπύλες δεικτών παραμένουν κοντά στην γραμμή αναφοράς.
Εγκατάσταση του Complex Common Indicator For MT4
Αφού κατεβάσετε την ένδειξη μέσω της παραπάνω φόρμας, πρέπει να αποσυνδέσετε το αρχείο zip. Στη συνέχεια, πρέπει να αντιγράψετε το αρχείο Complex_Common.mq4 στο φάκελο MQL4Indicators της εγκατάστασης MT4 . Στη συνέχεια, κάντε επανεκκίνηση του MT4 και, στη συνέχεια, θα μπορείτε να δείτε τον δείκτη στη λίστα των δεικτών.
Παράμετροι του Complex Common Indicator For MT4
Το Complex Common Indicator For MT4 έχει παραμέτρους 0 για να ρυθμίσετε τις παραμέτρους.
Buffers του Complex Common Indicator For MT4
Το Complex Common Indicator For MT4 παρέχει buffers 5 .
SetIndexBuffer(0,USD);
SetIndexBuffer(1,EUR);
SetIndexBuffer(2,GBP);
SetIndexBuffer(3,CHF);
SetIndexBuffer(4,JPY);
Κύρια μέρη του κώδικα
int start()
{
int limit;
int counted_bars=IndicatorCounted();
//---- ïðîâåðêà íà âîçìîæíûå îøèáêè
if(counted_bars lt 0) return(-1);
//---- ïîñëåäíèé ïîñ÷èòàííûé áàð áóäåò ïåðåñ÷èòàí
if(counted_bars gt 0) counted_bars-=10;
limit=Bars-counted_bars;
//---- îñíîâíîé öèêë
int Price=6;
int Mode=3;
int per1,per2;
switch(Period())
{
case 1: per1=m1_per; per2=m1_fast; break;
case 5: per1=m5_per; per2=m5_fast; break;
case 15: per1=m15_per;per2=m15_fast; break;
case 30: per1=m30_per;per2=m30_fast; break;
case 60: per1=h1_per; per2=h1_fast; break;
case 240: per1=h4_per; per2=h4_fast; break;
case 1440: per1=d_per; per2=d_fast; break;
case 10080: per1=w_per; per2=w_fast; break;
case 43200: per1=mn_per; per2=mn_fast; break;
}
for(int i=0; i lt limit; i++)
{
USD[i]=
(iMA("EURUSD",0,per1,0,Mode,Price,i)-
iMA("EURUSD",0,per2,0,Mode,Price,i))*10000
+
(iMA("GBPUSD",0,per1,0,Mode,Price,i)-
iMA("GBPUSD",0,per2,0,Mode,Price,i))*10000
+
(iMA("USDCHF",0,per2,0,Mode,Price,i)-
iMA("USDCHF",0,per1,0,Mode,Price,i))*10000
+
(iMA("USDJPY",0,per2,0,Mode,Price,i)-
iMA("USDJPY",0,per1,0,Mode,Price,i))*100
;
EUR[i]=
(iMA("EURUSD",0,per2,0,Mode,Price,i)-
iMA("EURUSD",0,per1,0,Mode,Price,i))*10000
+
(iMA("EURGBP",0,per2,0,Mode,Price,i)-
iMA("EURGBP",0,per1,0,Mode,Price,i))*10000
+
(iMA("EURCHF",0,per2,0,Mode,Price,i)-
iMA("EURCHF",0,per1,0,Mode,Price,i))*10000
+
(iMA("EURJPY",0,per2,0,Mode,Price,i)-
iMA("EURJPY",0,per1,0,Mode,Price,i))*100
;
GBP[i]=
(iMA("GBPUSD",0,per2,0,Mode,Price,i)-
iMA("GBPUSD",0,per1,0,Mode,Price,i))*10000
+
(iMA("EURGBP",0,per1,0,Mode,Price,i)-
iMA("EURGBP",0,per2,0,Mode,Price,i))*10000
+
(iMA("GBPCHF",0,per2,0,Mode,Price,i)-
iMA("GBPCHF",0,per1,0,Mode,Price,i))*10000
+
(iMA("GBPJPY",0,per2,0,Mode,Price,i)-
iMA("GBPJPY",0,per1,0,Mode,Price,i))*100
;
CHF[i]=
(iMA("USDCHF",0,per1,0,Mode,Price,i)-
iMA("USDCHF",0,per2,0,Mode,Price,i))*10000
+
(iMA("EURCHF",0,per1,0,Mode,Price,i)-
iMA("EURCHF",0,per2,0,Mode,Price,i))*10000
+
(iMA("GBPCHF",0,per1,0,Mode,Price,i)-
iMA("GBPCHF",0,per2,0,Mode,Price,i))*10000
+
(iMA("CHFJPY",0,per2,0,Mode,Price,i)-
iMA("CHFJPY",0,per1,0,Mode,Price,i))*100
;
JPY[i]=
(iMA("USDJPY",0,per1,0,Mode,Price,i)-
iMA("USDJPY",0,per2,0,Mode,Price,i))*100
+
(iMA("EURJPY",0,per1,0,Mode,Price,i)-
iMA("EURJPY",0,per2,0,Mode,Price,i))*100
+
(iMA("GBPJPY",0,per1,0,Mode,Price,i)-
iMA("GBPJPY",0,per2,0,Mode,Price,i))*100
+
(iMA("CHFJPY",0,per1,0,Mode,Price,i)-
iMA("CHFJPY",0,per2,0,Mode,Price,i))*100
;
}
//----
return(0);
}
//+------------------------------------------------------------------+