NO
Information
Username: | Nobody |
Member since: | 14 Jan 2016 |
Last login: | 14 Nov 2024 |
Status: | Active |
Activity
Where | Created | Comments |
---|---|---|
Algorithms | 0 | 3 |
Forum Topics | 13 | 17 |
Jobs | 0 | 0 |
Last Algorithm Comments
NO
Hi Guys,
does someone has good results with this bot ? if yes on wich symbol and with which paramaters values ?
i you could publish results of backtesting or myfxbook perf it would be nice !
Thanks a lot and have good trades ;)
Hello Kamilsz,
good job ! i would like to ask you some help, your indicator seems very close to an MT4 version which is not exactly the same and do some repaint but i would like to do the same, do you know how to change your code to get the same please ?
here the part of mt4 code :
int counted_bars=IndicatorCounted();
int i,j,k,limit;
if(counted_bars<0) return(-1);
if(counted_bars>0) counted_bars--;
limit=MathMin(Bars-1,Bars-counted_bars+HalfLength);
if (returnBars) { buffer1[0] = limit+1; return(0); }
if (calculateValue || timeFrame==Period())
{
for (i=limit; i>=0; i--)
{
double sum = (HalfLength+1)*iMA(NULL,0,1,0,MODE_SMA,Price,i);
double sumw = (HalfLength+1);
for(j=1, k=HalfLength; j<=HalfLength; j++, k--)
{
sum += k*iMA(NULL,0,1,0,MODE_SMA,Price,i+j);
sumw += k;
if (j<=i)
{
sum += k*iMA(NULL,0,1,0,MODE_SMA,Price,i-j);
sumw += k;
}
}
double range = iATR(NULL,0,ATRPeriod,i+10)*ATRMultiplier;
buffer1[i] = sum/sumw;
buffer2[i] = buffer1[i]+range;
buffer3[i] = buffer1[i]-range;
//
//
//
//
//
}
}
thanks for your help !