BuySell Indicator For MT5
Table Of Contents:
- BuySell Indicator For MT5
- BuySell Indicator For MT5 स्थापित करना
- BuySell Indicator For MT5 पैरामीटर
- BuySell Indicator For MT5 के BuySell Indicator For MT5
- संहिता के मुख्य भाग
BuySell Indicator For MT5 सरल डॉट्स के साथ मूल्य चार्ट में गतिशील समर्थन और प्रतिरोध क्षेत्र दिखाता है। लेकिन अगर आप ध्यान से मूल्य चार्ट का निरीक्षण करते हैं, तो आप अक्सर कैंडलस्टिक के ऊपर एक छोटे मजेंटा रंग वर्ग को नोटिस करेंगे और इसका मतलब है कि आपको डाउनट्रेंड के लिए तैयार होने की आवश्यकता है। इसके विपरीत, जब आप कैंडलस्टिक के नीचे एक नीले वर्ग को देखते हैं, तो आपको तेजी से रैली के लिए तैयार होना चाहिए। इस उपकरण का उपयोग करके बाजार का व्यापार करने के लिए, आपको समर्थन और प्रतिरोध स्तर का विश्लेषण करना सीखना होगा। कुछ व्यापारी अक्सर डॉट्स और वर्ग चिह्न का उपयोग लाभदायक ट्रेडों से बाहर निकलने के लिए करते हैं क्योंकि सूचक भी डॉट्स और स्क्वायर की साजिश रचते समय एटीआर मूल्य की गणना करता है।
BuySell Indicator For MT5 स्थापित करना
आपके द्वारा उपर्युक्त फ़ॉर्म के माध्यम से संकेतक डाउनलोड करने के बाद आपको ज़िप-फ़ाइल को अनज़िप करना होगा। तो फिर तुम फाइल कॉपी करने की जरूरत है buysell.mq5 फ़ोल्डर में MQL5Indicators अपने की MT5 स्थापना। उसके बाद कृपया MT5 को पुनः आरंभ करें और फिर आप संकेतक की सूची में संकेतक देख पाएंगे।
BuySell Indicator For MT5 पैरामीटर
BuySell Indicator For MT5 पास कॉन्फ़िगर करने के लिए 4 पैरामीटर हैं।
input uint MA_Period=14; input ENUM_MA_METHOD MA_Method=MODE_SMA; // Smoothing method input ENUM_APPLIED_PRICE MA_Price=PRICE_CLOSE; // Price input uint ATR_Period=60;
BuySell Indicator For MT5 के BuySell Indicator For MT5
BuySell Indicator For MT5 4 बफ़र्स प्रदान करता है।
SetIndexBuffer(0,UpBuffer,INDICATOR_DATA); SetIndexBuffer(1,DnBuffer,INDICATOR_DATA); SetIndexBuffer(2,SellBuffer,INDICATOR_DATA); SetIndexBuffer(3,BuyBuffer,INDICATOR_DATA);
संहिता के मुख्य भाग
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 &tick_volume[], const long &volume[], const int &spread[]) { //---- checking of bars, needed for calculation if(BarsCalculated(MA_Handle) lt rates_total || BarsCalculated(ATR_Handle) lt rates_total || rates_total lt min_rates_total) return(RESET); //---- declaration of local variables int limit,to_copy,bar; double MA[],ATR[]; //---- set starting bar index limit if(prev_calculated gt rates_total || prev_calculated lt =0)// checking of first call limit=rates_total-min_rates_total-2; // starting bar index for all bars else limit=rates_total-prev_calculated; // starting bar index for new bars to_copy=limit+2; //---- copy new data to arrays if(CopyBuffer(MA_Handle,0,0,to_copy,MA) lt =0) return(RESET); if(CopyBuffer(ATR_Handle,0,0,to_copy,ATR) lt =0) return(RESET); //---- set indexing as time series ArraySetAsSeries(MA,true); ArraySetAsSeries(ATR,true); //---- first calculation for(bar=limit; bar gt =0 && !IsStopped(); bar--) { //---- set buffers to zero DnBuffer[bar]=0.0; UpBuffer[bar]=0.0; if(MA[bar] gt MA[bar+1]) DnBuffer[bar]=MA[bar]-ATR[bar]; if(MA[bar] lt MA[bar+1]) UpBuffer[bar]=MA[bar]+ATR[bar]; } //---- recalculation of starting bar index for new bars if(prev_calculated gt rates_total || prev_calculated lt =0)// checking of first call limit--; //---- second calculation for(bar=limit; bar gt =0 && !IsStopped(); bar--) { //---- set buffers to zero BuyBuffer[bar]=0.0; SellBuffer[bar]=0.0; if(UpBuffer[bar+1]&&DnBuffer[bar]) BuyBuffer [bar]=DnBuffer[bar]; if(DnBuffer[bar+1]&&UpBuffer[bar]) SellBuffer[bar]=UpBuffer[bar]; } //---- return(rates_total); } //+------------------------------------------------------------------+