Alligator Indicator For MT5
Table Of Contents:
- Alligator Indicator For MT5
- Alligator Indicator For MT5 स्थापित करना
- Alligator Indicator For MT5 पैरामीटर
- Alligator Indicator For MT5 के Alligator Indicator For MT5
- संहिता के मुख्य भाग
Alligator Indicator For MT5 बिल विलियम्स द्वारा विकसित प्रसिद्ध व्यापार प्रणाली पर आधारित है। सूचक अलग-अलग अवधि के रंगों के साथ 3 सरल चलती औसत खींचता है। नीले रंग की चलती औसत की अवधि 13 होती है और इसे मगरमच्छ का जबड़ा कहा जाता है। लाल रेखा की अवधि 8 है और इसे मगरमच्छ के दांत कहा जाता है। हरी रेखा की अवधि 5 है और इसे मगरमच्छ के होंठ कहा जाता है। आप स्थापित रुझानों में प्रवेश करने के लिए संकेतक का उपयोग कर सकते हैं। अनुभवी व्यापारी लाइनों की स्थिति के आधार पर ट्रेंड रिवर्सल भी देख सकते हैं।
Alligator Indicator For MT5 स्थापित करना
आपके द्वारा उपर्युक्त फ़ॉर्म के माध्यम से संकेतक डाउनलोड करने के बाद आपको ज़िप-फ़ाइल को अनज़िप करना होगा। तो फिर तुम फाइल कॉपी करने की जरूरत है alligator.mq5 फ़ोल्डर में MQL5Indicators अपने की MT5 स्थापना। उसके बाद कृपया MT5 को पुनः आरंभ करें और फिर आप संकेतक की सूची में संकेतक देख पाएंगे।
Alligator Indicator For MT5 पैरामीटर
Alligator Indicator For MT5 पास कॉन्फ़िगर करने के लिए 8 पैरामीटर हैं।
input int InpJawsPeriod=13; // Jaws period input int InpJawsShift=8; // Jaws shift input int InpTeethPeriod=8; // Teeth period input int InpTeethShift=5; // Teeth shift input int InpLipsPeriod=5; // Lips period input int InpLipsShift=3; // Lips shift input ENUM_MA_METHOD InpMAMethod=MODE_SMMA; // Moving average method input ENUM_APPLIED_PRICE InpAppliedPrice=PRICE_MEDIAN; // Applied price
Alligator Indicator For MT5 के Alligator Indicator For MT5
Alligator Indicator For MT5 3 बफ़र्स प्रदान करता है।
SetIndexBuffer(0,ExtJaws,INDICATOR_DATA); SetIndexBuffer(1,ExtTeeth,INDICATOR_DATA); SetIndexBuffer(2,ExtLips,INDICATOR_DATA);
संहिता के मुख्य भाग
//| Alligator OnCalculate function | //+------------------------------------------------------------------+ int OnCalculate(const int rates_total, const int prev_calculated, const datetime &Time[], const double &Open[], const double &High[], const double &Low[], const double &Close[], const long &TickVolume[], const long &Volume[], const int &Spread[]) { //--- check for rates total if(rates_total lt ExtBarsMinimum) return(0); // not enough bars for calculation //--- not all data may be calculated int calculated=BarsCalculated(ExtJawsHandle); if(calculated lt rates_total) { Print("Not all data of ExtJawsHandle is calculated (",calculated,"bars ). Error",GetLastError()); return(0); } calculated=BarsCalculated(ExtTeethHandle); if(calculated lt rates_total) { Print("Not all data of ExtTeethHandle is calculated (",calculated,"bars ). Error",GetLastError()); return(0); } calculated=BarsCalculated(ExtLipsHandle); if(calculated lt rates_total) { Print("Not all data of ExtLipsHandle is calculated (",calculated,"bars ). Error",GetLastError()); return(0); } //--- we can copy not all data int to_copy; if(prev_calculated gt rates_total || prev_calculated lt 0) to_copy=rates_total; else { to_copy=rates_total-prev_calculated; if(prev_calculated gt 0) to_copy++; } //---- get ma buffers if(IsStopped()) return(0); //Checking for stop flag if(CopyBuffer(ExtJawsHandle,0,0,to_copy,ExtJaws) lt =0) { Print("getting ExtJawsHandle is failed! Error",GetLastError()); return(0); } if(IsStopped()) return(0); //Checking for stop flag if(CopyBuffer(ExtTeethHandle,0,0,to_copy,ExtTeeth) lt =0) { Print("getting ExtTeethHandle is failed! Error",GetLastError()); return(0); } if(IsStopped()) return(0); //Checking for stop flag if(CopyBuffer(ExtLipsHandle,0,0,to_copy,ExtLips) lt =0) { Print("getting ExtLipsHandle is failed! Error",GetLastError()); return(0); } //--- return value of prev_calculated for next call return(rates_total); } //+------------------------------------------------------------------+