SilverTrend_Signal

0
(0)
نالو:
SilverTrend_Signal [ ru | cn ]
ليکڪ: ليکڪ (2008.01.08 11:26)
ڊائون لوڊ ٿيل: 4225
ڊائون لوڊ ڪريو:
SilverTrend_Signal 1
SilverTrend Signal w[1].Alert.mq4 (3.4 Kb) ڏيک
ليکڪ: 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 |
//+------------------------------------------------------------------+
#ملڪيت جي حق اشاعت "SilverTrend rewritten by CrazyChart"
#ملڪيت جي لنڪ "http://viac.ru/"
//----
#ملڪيت جو اشارو_چارٽ_ونڊو
#ملڪيت جي اشاري_بفرز 2
#property indicator_color1 Aqua
#property indicator_color2 Violet
//---- ان پٽ پيٽرول
extern int RISK=3;
extern int CountBars=350;
int SSP=9;
int counter=0;
//---- بفر
double val1[];
double val2[];
//+------------------------------------------------------------------+
//| ڪسٽم اشارو شروعاتي فنڪشن |
//+------------------------------------------------------------------+
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,اختيار 1);
SetIndexBuffer(1,ويل2);
//----
واپسي(0);
}
//+------------------------------------------------------------------+
//| SilverTrend_Signal |
//+------------------------------------------------------------------+
int شروع()
{
جيڪڏهن (ڳڻپ بار>=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,سمن,smax,SsMax,ايس ايم اين,قيمت;
bool uptrend,old;
//----
جيڪڏهن(بار<=SSP+1) واپسي(0);
//---- شروعاتي صفر
جيڪڏهن(شمار ٿيل_بار<SSP+1)
{
لاءِ(i=1;i<=SSP;i++) اختيار 1[CountBars-i]=0.0;
لاءِ(i=1;i<=SSP;i++) ويل2[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];
جيڪڏهن(ايس ايم اين>=price) SsMin=price;
}
smin=SsMin+(SsMax-SsMin)*K/100;
smax=SsMax-(SsMax-SsMin)*K/100;
اختيار 1[شفٽ]=0;
ويل2[شفٽ]=0;
جيڪڏهن (بند[شفٽ]<سمن)
{
uptrend=false;
}
جيڪڏهن (بند[شفٽ]>smax)
{
uptrend=true;
}
جيڪڏهن (uptrend!=old && uptrend==true)
{
اختيار 1[شفٽ]=Low[شفٽ]-Range*0.5;
counter=0;

{

}
}
جيڪڏهن (uptrend!=old && uptrend==false)
{
counter=0;
ويل2[شفٽ]=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] جيڪي اسان جي پنهنجي شرطن تي زندگي گذارڻ لاءِ وقف آهن. اسان جو بنيادي مقصد مالي آزادي ۽ آزادي حاصل ڪرڻ آهي, ۽ اسان خود تعليم حاصل ڪئي آهي ۽ فاریکس مارڪيٽ ۾ وسيع تجربو حاصل ڪيو آهي جيئن اسان جو مطلب هڪ خودمختاري واري زندگي گذارڻ جي لاءِ آهي..