SilverTrend Rewritten by CrazyChart

0
(0)
Name:
SilverTrend Rewritten by CrazyChart
Author: Collector (2006.10.16 13:22)
Downloaded: 5259
Download:
Indicator SilverTrend rewritten by CrazyChart is an alerting system similar to indicators of ASCTrend. If the indicator SilverTrend rewritten by CrazyChart meets lines, it alerts about necessity to buy or sell.

If the blue line meets the red line from bottom to top, a long position should be opened. If vice versa, a short position should be opened.

SilverTrend Rewritten by CrazyChart 1

4 comments  To post a new comment, please log in or register

Looks excellent!  But only because it repaints the last 7 bars.  Waste of time.

31.12.2009 21:27 rossiya

This indicator is crap! If you look into the codes, it used "future values" to compute the current indicator value, that means once the current price changes, the past indicator values will also change. It won't give you any profits.

Claude.

26.11.2008 01:07 claude

Dear,
Merry Christmass and happy new year.
This file is very important but I am facing the problem which is this file gives the sell/buy notification after the price has gone.Can you help me for the resolution of this file or maybe you have the updated file?
Thanks in advcnace for your support as usaul.
Best Regards,
Jamal
03.01.2007 19:37 barakat

Dear,
I have downloaded this software and enabled the ring tone as below whenever get a sell or buy signal,but i faced a problem when i get any signal,which is i am receiving an alert notification for any signal each second and more than 80 times for each second and consequently my computer is freezing.

Thanks in advance for your support to solve this problem.
Best Regards,
Jamal Barakat
======================
//+------------------------------------------------------------------+
//| Filename changed to ForexOFFTrend. mq4 by CrazyChart |
//| SilverTrend .mq4 |
//| SilverTrend rewritten by CrazyChart |
//| http://viac.ru/ |
//+------------------------------------------------------------------+

#property copyright "SilverTrend rewritten by CrazyChart"
#property link "http://viac.ru/ "
//----
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Blue
#property indicator_color2 Red
//---- input parameters
extern int CountBars = 400;
extern int SSP = 7;
extern double Kmin = 1.6;
extern double Kmax = 50.6;
extern bool gAlert = True; // Switch to allow alerts
//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];
//----
bool gSellAlertGiven = true; // Used to stop constant alerts
bool gBuyAlertGiven = true; // Used to stop constant alerts
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
SetIndexStyle(0, DRAW_LINE, 0, 2);
SetIndexBuffer(0, ExtMapBuffer1);
SetIndexStyle(1, DRAW_LINE, 0, 2);
SetIndexBuffer(1, ExtMapBuffer2);
//----
if(CountBars >= Bars)
CountBars = Bars;
SetIndexDrawBegin(0, Bars - CountBars + SSP);
SetIndexDrawBegin(1, Bars - CountBars + SSP);
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custor indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
int i,
i2,
loopbegin,
counted_bars = IndicatorCounted();
double SsMax,
SsMin,
K,
val1,
val2,
smin,
smax,
price;
if(Bars <= SSP + 1)
return(0);
//---- initial zero
if(counted_bars < SSP + 1)
{
for(i = 1; i <= SSP; i++)
ExtMapBuffer1[CountBars-i] = 0. 0;
for(i = 1; i <= SSP; i++)
ExtMapBuffer2[CountBars-i] = 0. 0;
}
for(i = CountBars - SSP; i >= 0; i--)
{
SsMax = High[Highest(NULL, 0, MODE_HIGH, SSP, i - SSP + 1)];
SsMin = Low[Lowest(NULL, 0, MODE_LOW, SSP, i - SSP + 1)];
smin = NormalizeDouble((SsMin - (SsMax - SsMin)*Kmin / 100), Digits);
smax = NormalizeDouble((SsMax - (SsMax - SsMin)*Kmax / 100), Digits);
ExtMapBuffer1[i-SSP+6] = smax;
ExtMapBuffer2[i-SSP-1] = smax;
val1 = ExtMapBuffer1[0];
val2 = ExtMapBuffer2[0];
if(val1 > val2)
{
Comment("ïîêَïêà buy ", val1);
if(gAlert == true && gBuyAlertGiven == true)
{
PlaySound("alert. wav");

Alert("Buy signal at " + DoubleToStr(val1, Digits) + " on " + Period() +
" minute chart");
gBuyAlertGiven = true;
gSellAlertGiven = false;
}
}
if(val1 < val2)
{
Comment("ïًîنàوà sell ", val2);
if(gAlert == true && gSellAlertGiven == true)
{
PlaySound("alert. wav");
Alert("Sell signal at " + DoubleToStr(val2, Digits) + " on " + Period()+
" minute chart");
gBuyAlertGiven = false;
gSellAlertGiven=true;
}
}
}
//----
return(0);
}
//+------------------------------------------------------------------+

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?



Author: Forex Wiki Team
We are a team of highly experienced Forex Traders [2000-2023] who are dedicated to living life on our own terms. Our primary objective is to attain financial independence and freedom, and we have pursued self-education and gained extensive experience in the Forex market as our means to achieve a self-sustainable lifestyle.