MT4 indicators for FT??

Indicators coded by community members
Message
Author
iamlucifertrade
Posts: 1
Joined: Fri Mar 20, 2015 6:38 am

MT4 indicators for FT??

#1 Postby iamlucifertrade » Fri Mar 20, 2015 6:42 am

HI!
Can someone convert this code to be applicable for forex tester?

//+------------------------------------------------------------------+
//| Williams' Accumulation/Distribution.mq4 |
//| Copyright ฉ 2007, MetaQuotes Software Corp. |
//| http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright ฉ 2007, MetaQuotes Software Corp."
#property link "http://www.metaquotes.net"
//----
#property indicator_separate_window
#property indicator_buffers 1
#property indicator_color1 LightSeaGreen
//---- buffers
double ExtMapBuffer1[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
IndicatorShortName("W_A/D");
//---- indicators
SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(0,ExtMapBuffer1);
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
double AD,TRH,TRL;
int i,counted_bars=IndicatorCounted();
uint start=GetTickCount();
//----
i=Bars-counted_bars-1;
if(counted_bars==0)
{
ExtMapBuffer1[i]=0;
i--;
}
while(i>=0)
{
TRH = MathMax(High[i], Close[i+1]);
TRL = MathMin(Low[i], Close[i+1]);
if(Close[i]>Close[i+1]+Point)
AD=Close[i]-TRL;
else
if(Close[i]<Close[i+1]-Point)
AD=Close[i]-TRH;
else
AD=0;
ExtMapBuffer1[i]=ExtMapBuffer1[i+1]+AD;
i--;
}
//----
return(0);
}
//+------------------------------------------------------------------+

Stonev
Posts: 204
Joined: Thu Jan 28, 2010 2:20 pm

Re: MT4 indicators for FT??

#2 Postby Stonev » Fri Mar 20, 2015 1:53 pm

Hi,
i can convert it for some fee.
details in PM.

Alexey
Coding & Converting

jnogiraldo
Posts: 1
Joined: Mon May 18, 2015 10:40 am

Re: MT4 indicators for FT??

#3 Postby jnogiraldo » Mon May 18, 2015 10:48 am

Hi, if anybody can help me with this indicator, I need this indicator with the language of Forex Tester. I have de indicator but I don't know how write the language, I have the file, please help me.

Stonev
Posts: 204
Joined: Thu Jan 28, 2010 2:20 pm

Re: MT4 indicators for FT??

#4 Postby Stonev » Mon May 18, 2015 1:12 pm

Could you attach file here?
or send it to me by email.
Coding & Converting


Return to “Indicators”

Who is online

Users browsing this forum: No registered users and 1 guest