0
(0)
नाम:
SilverTrend_Signal [ आरयू | सीएन ]
लेखक: लेखक (2008.01.08 11:26)
डाउनलोड: 4225
डाउनलोड करना:
SilverTrend_Signal 1
SilverTrend Signal w[1].Alert.mq4 (3.4 केबी) देखना
लेखक: Ramdass - Conversion only

Indicator SilverTrend Signal.
SilverTrend_Signal 2
2 टिप्पणियाँ एक नई टिप्पणी पोस्ट करने के लिए, कृपया लॉग इन करें या पंजीकरण करवाना

Samlup wrote:
how do i stop this indicator from giving so many audible signals and also so many Alerts in the Alert window....dont mind the arrows coming and going but the alert window and sound is driving me crazy. धन्यवाद

This may work. I am not an MQL coder so not sure if it will effect its functionality or if I did this right.
 

Here is the version with NO alert.
 

//+------------------------------------------------------------------+
//| SilverTrend_Signal.mq4 |
//| Ramdass - Conversion only |
//+------------------------------------------------------------------+
#property copyright "SilverTrend rewritten by CrazyChart"
#property link "एचटीटीपी://viac.ru/"
//----
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Aqua
#property indicator_color2 Violet
//---- इनपुट पैरामीटर
extern int RISK=3;
extern int CountBars=350;
int SSP=9;
int counter=0;
//---- buffers
double val1[];
double val2[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
string short_name;
//---- indicator line
IndicatorBuffers(2);
SetIndexStyle(0,DRAW_ARROW);
SetIndexArrow(0,233);
SetIndexStyle(1,DRAW_ARROW);
SetIndexArrow(1,234);
SetIndexBuffer(0,val1);
SetIndexBuffer(1,val2);
//----
वापस करना(0);
}
//+------------------------------------------------------------------+
//| SilverTrend_Signal |
//+------------------------------------------------------------------+
int start()
{
अगर (CountBars>=Bars) CountBars=Bars;
SetIndexDrawBegin(0,Bars-CountBars+SSP);
SetIndexDrawBegin(1,Bars-CountBars+SSP);
int i,बदलाव,counted_bars=IndicatorCounted();
int i1,i2,K;
double Range,AvgRange,smin,smax,SsMax,SsMin,कीमत;
bool uptrend,old;
//----
अगर(सलाखों<=SSP+1) वापस करना(0);
//---- initial zero
अगर(counted_bars<SSP+1)
{
के लिए(i=1;मैं<=SSP;i++) val1[CountBars-i]=0.0;
के लिए(i=1;मैं<=SSP;i++) val2[CountBars-i]=0.0;
}
//----
K=33-RISK;
के लिए(shift=CountBars-SSP; बदलाव>=0; shift--)
{
Range=0;
AvgRange=0;
के लिए(i1=shift; i1<=shift+SSP; i1++)
{AvgRange=AvgRange+MathAbs(उच्च[i1]-कम[i1]);
}
Range=AvgRange/(SSP+1);
//----
SsMax=High[बदलाव]; SsMin=Low[बदलाव];
के लिए(i2=shift;i2<=shift+SSP-1;i2++)
{
price=High[i2];
अगर(SsMax<कीमत) SsMax=price;
price=Low[i2];
अगर(SsMin>=price) SsMin=price;
}
smin=SsMin+(SsMax-SsMin)*K/100;
smax=SsMax-(SsMax-SsMin)*K/100;
val1[बदलाव]=0;
val2[बदलाव]=0;
अगर (बंद करना[बदलाव]<smin)
{
uptrend=false;
}
अगर (बंद करना[बदलाव]>smax)
{
uptrend=true;
}
अगर (uptrend!=old && uptrend==true)
{
val1[बदलाव]=Low[बदलाव]-Range*0.5;
counter=0;

{

}
}
अगर (uptrend!=old && uptrend==false)
{
counter=0;
val2[बदलाव]=High[बदलाव]+Range*0.5;

{

}
}
टिप्पणी(बदलाव);
old=uptrend;
}
वापस करना(0);
}
//+------------------------------------------------------------------+
 
 

Just open your existing copy and paste this over it and press compile and it will be the same as this one then.
 

'Ring Tone'

18.07.2008 03:04 FXIA

how do i stop this indicator from giving so many audible signals and also so many Alerts in the Alert window....dont mind the arrows coming and going but the alert window and sound is driving me crazy. धन्यवाद

ये पोस्ट कितनी उपयोगी थी?

इसे रेट करने के लिए किसी स्टार पर क्लिक करें!

औसत श्रेणी 0 / 5. वोटों की गिनती: 0

अभी तक कोई वोट नहीं! इस पोस्ट को रेट करने वाले पहले व्यक्ति बनें.

हमें खेद है कि यह पोस्ट आपके लिए उपयोगी नहीं रही!

आइए इस पोस्ट को बेहतर बनाएं!

हमें बताएं कि हम इस पोस्ट को कैसे बेहतर बना सकते हैं?



लेखक: विदेशी मुद्रा विकी टीम
हम अत्यधिक अनुभवी विदेशी मुद्रा व्यापारियों की एक टीम हैं [2000-2023] जो अपनी शर्तों पर जीवन जीने के लिए समर्पित हैं. हमारा प्राथमिक उद्देश्य वित्तीय स्वतंत्रता और स्वतंत्रता प्राप्त करना है, और हमने स्व-शिक्षा का अनुसरण किया है और एक स्व-टिकाऊ जीवन शैली प्राप्त करने के हमारे साधन के रूप में विदेशी मुद्रा बाजार में व्यापक अनुभव प्राप्त किया है।.