Indicators - page 6

 

This is an awesome directional indicator but I'm looking for an alert to go off when the direction pivots. Please help!

Files:
Gann_SQ9.mq4  14 kb
indicator.jpg  328 kb
 

I was wondering if someone could please add an email alert for the channel indicator when it changes color from red to blue, or blue to red. Thank you!

Files:
shi_channel.jpg  338 kb
 

Hi Mr. Kovactrader,

I want a EA in which i will be using three Zig Zag indicators with the setting of Zig Zag 6, Zig Zag 30 and Zig Zag 120. i want an EA which can alert me by email and sms when the Zig Zag 6 and Zig Zag 30 is equal and Zig Zag 6, Zig Zag 30 and Zig Zag 120 are equal.

 

Hi Mr. Kovactrader,

i have some amibroker afl can you convert it in to mt4 indicator iam also ready to pay please reply via mail to amarrkool@gmail.com with your contact details

 

hi sir i need sound alert to this attached indicator when buy and sell arrow appears ineed a sound alert and when a buy sell exit cross appears i need sound alert here is the indicator thanks in advance

Files:
 

Dear Sir,

I wanted to know if it would be possible for you to code the following indicator into an mq4 (metatrader 4) indicator. Your help in this matter will be greatly appreciated.

Thanks

Gann Trend Oscillator

Overview

The Gann Trend Oscillator has been adapted from Robert Krausz's book, "A W.D. Gann Treasure

Discovered".

The Gann Trend Oscillator helps define overall market trend direction. An up-trending market is

defined by a +1 value of the oscillator while a down-trending market is indicated by a -1 value.

Interpretation

The Gann Trend Oscillator is meant to be used in conjunction with the Gann HiLo Activator and Gann

Swing indicators to form a trading system methodology commonly referred to as the "New Gann

Swing Chartist Plan". Within this methodology the Gann Trend Oscillator is used to determine the

overall trend direction of the market.

{Market swing is defined as: Up = 2 higher highs, Down = 2 lower lows}

Us:= BarsSince(Sum(H>Ref(H,-1),2)=2);

Ds:= BarsSince(Sum(L<Ref(L,-1),2)=2);

Hc:= HighestSince(1,Us=0,H);

Lc:= LowestSince(1,Ds=0,L);

Sd1:= If(Us=0, If((LLc) AND (Ref(L,-1)Lc), 1, 0), If(Ds=0, If((HHC) AND (Ref(H,-

1)Hc), -1, 0), 0));

Sd2:= If(Sd1=1,If(Ref(BarsSince(Sd1=1),-1) > Ref(BarsSince(Sd1=-1),-1), 1, 0), If(Sd1=-1,

If(Ref(BarsSince(Sd1=1),-1) < Ref(BarsSince(Sd1=-1),-1), -1, 0), 0));

TD1:= ValueWhen(1,Sd20,Sd2);

{Swing Direction}

Sd:= TD1;

{Swing Change High}

Sch:= If(Sd=1 AND Ref(sd,-1)=-1, 1, 0);

{Swing Change Low}

Scl:= If(Sd=-1 AND Ref(Sd,-1)=1, 1, 0);

{Peak Value}

Pv:= If(Scl=1, HighestSince(1,Sch=1,H), 0);

{Trough Value}

Tv:= If(Sch=1, LowestSince(1,Scl=1,L), 0);

{Trend Direction}

Td:= If(H>ValueWhen(1,Pv>0,Pv), 1, If(L0,Tv), -1, 0));

{UpTrend=1 | DownTrend =-1}

Tdv:= ValueWhen(1,Td0,Td);

 

Hey there maybe you can help me get this indicator on the MT4 platform....

//+------------------------------------------------------------------+

//| Period_Converter.mq4 |

//| Copyright © 2005-2007, MetaQuotes Software Corp. |

//| MetaTrader 5 Trading Platform / MetaQuotes Software Corp. |

//+------------------------------------------------------------------+

#property copyright "Copyright © 2007, MetaQuotes Software Corp."

#property link "https://www.metaquotes.net"

#property show_inputs

#include

extern int ExtPeriodMultiplier=3; // new period multiplier factor

int ExtHandle=-1;

//+------------------------------------------------------------------+

//| script program start function |

//+------------------------------------------------------------------+

int start()

{

int i, start_pos, i_time, time0, last_fpos, periodseconds;

double d_open, d_low, d_high, d_close, d_volume, last_volume;

int hwnd=0,cnt=0;

//---- History header

int version=400;

string c_copyright;

string c_symbol=Symbol();

int i_period=Period()*ExtPeriodMultiplier;

int i_digits=Digits;

int i_unused[13];

//----

ExtHandle=FileOpenHistory(c_symbol+i_period+".hst", FILE_BIN|FILE_WRITE);

if(ExtHandle < 0) return(-1);

//---- write history file header

c_copyright="(C)opyright 2003, MetaQuotes Software Corp.";

FileWriteInteger(ExtHandle, version, LONG_VALUE);

FileWriteString(ExtHandle, c_copyright, 64);

FileWriteString(ExtHandle, c_symbol, 12);

FileWriteInteger(ExtHandle, i_period, LONG_VALUE);

FileWriteInteger(ExtHandle, i_digits, LONG_VALUE);

FileWriteInteger(ExtHandle, 0, LONG_VALUE); //timesign

FileWriteInteger(ExtHandle, 0, LONG_VALUE); //last_sync

FileWriteArray(ExtHandle, i_unused, 0, 13);

//---- write history file

periodseconds=i_period*60;

start_pos=Bars-1;

d_open=Open[start_pos];

d_low=Low[start_pos];

d_high=High[start_pos];

d_volume=Volume[start_pos];

//---- normalize open time

i_time=Time[start_pos]/periodseconds;

i_time*=periodseconds;

for(i=start_pos-1;i>=0; i--)

{

time0=Time;
//---- history may be updated
if(i==0)
{
//---- modify index if history was updated
if(RefreshRates())
i=iBarShift(NULL,0,time0);
}
//----
if(time0>=i_time+periodseconds || i==0)
{
if(i==0 && time0<i_time+periodseconds)
{
d_volume+=Volume[0];
if (Low[0]<d_low) d_low=Low[0];
if (High[0]>d_high) d_high=High[0];
d_close=Close[0];
}
last_fpos=FileTell(ExtHandle);
last_volume=Volume;
FileWriteInteger(ExtHandle, i_time, LONG_VALUE);
FileWriteDouble(ExtHandle, d_open, DOUBLE_VALUE);
FileWriteDouble(ExtHandle, d_low, DOUBLE_VALUE);
FileWriteDouble(ExtHandle, d_high, DOUBLE_VALUE);
FileWriteDouble(ExtHandle, d_close, DOUBLE_VALUE);
FileWriteDouble(ExtHandle, d_volume, DOUBLE_VALUE);
FileFlush(ExtHandle);
cnt++;
if(time0>=i_time+periodseconds)
{
i_time=time0/periodseconds;
i_time*=periodseconds;
d_open=Open;
d_low=Low;
d_high=High;
d_close=Close;
d_volume=last_volume;
}
}
else
{
d_volume+=Volume;
if (Low<d_low) d_low=Low;
if (High>d_high) d_high=High;
d_close=Close;
}
}
FileFlush(ExtHandle);
Print(cnt," record(s) written");
//---- collect incoming ticks
int last_time=LocalTime()-5;
while(IsStopped()==false)
{
int cur_time=LocalTime();
//---- check for new rates
if(RefreshRates())
{
time0=Time[0];
FileSeek(ExtHandle,last_fpos,SEEK_SET);
//---- is there current bar?
if(time0<i_time+periodseconds)
{
d_volume+=Volume[0]-last_volume;
last_volume=Volume[0];
if (Low[0]<d_low) d_low=Low[0];
if (High[0]>d_high) d_high=High[0];
d_close=Close[0];
}
else
{
//---- no, there is new bar
d_volume+=Volume[1]-last_volume;
if (Low[1]<d_low) d_low=Low[1];
if (High[1]>d_high) d_high=High[1];
//---- write previous bar remains
FileWriteInteger(ExtHandle, i_time, LONG_VALUE);
FileWriteDouble(ExtHandle, d_open, DOUBLE_VALUE);
FileWriteDouble(ExtHandle, d_low, DOUBLE_VALUE);
FileWriteDouble(ExtHandle, d_high, DOUBLE_VALUE);
FileWriteDouble(ExtHandle, d_close, DOUBLE_VALUE);
FileWriteDouble(ExtHandle, d_volume, DOUBLE_VALUE);
last_fpos=FileTell(ExtHandle);
//----
i_time=time0/periodseconds;
i_time*=periodseconds;
d_open=Open[0];
d_low=Low[0];
d_high=High[0];
d_close=Close[0];
d_volume=Volume[0];
last_volume=d_volume;
}
//----
FileWriteInteger(ExtHandle, i_time, LONG_VALUE);
FileWriteDouble(ExtHandle, d_open, DOUBLE_VALUE);
FileWriteDouble(ExtHandle, d_low, DOUBLE_VALUE);
FileWriteDouble(ExtHandle, d_high, DOUBLE_VALUE);
FileWriteDouble(ExtHandle, d_close, DOUBLE_VALUE);
FileWriteDouble(ExtHandle, d_volume, DOUBLE_VALUE);
FileFlush(ExtHandle);
//----
if(hwnd==0)
{
hwnd=WindowHandle(Symbol(),i_period);
if(hwnd!=0) Print("Chart window detected");
}
//---- refresh window not frequently than 1 time in 2 seconds
if(hwnd!=0 && cur_time-last_time>=2)
{
PostMessageA(hwnd,WM_COMMAND,33324,0);
last_time=cur_time;
}
}
Sleep(50);
}
//----
return(0);
}
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
void deinit()
{
if(ExtHandle>=0) { FileClose(ExtHandle); ExtHandle=-1; }
}
//+------------------------------------------------------------------+
Thanks haleyes

 

Hi, Can someone please help me with this Indicator. Basically the settings are HMA (16,9) , BBtop 14,0.14, BB bottom 14,0.14 , .. I need these on Mt4 .

 
Kovactrader:
Hello! I hope this is not a spam and it is allowed. If anyone need any kind of indicator I can code it. Alerts, crosses,...

Can you fix this so it alerts at crossing settable levels? Alert trigger once until conditons are met again. i.e. price cross down level ALERT..... wait for new bar...if price crosses down again ALERT etc...

Files:
 

Hi

how to install indi in metatrader there is no experts folder in new version if i paste in indicators folder its not showing in custom indicator folder pls help me to install

Thank you

Reason: