Indicators with alerts/signal - page 198

richman
12
richman  

Help to improve

Hi,

Can somebody improve this indicator. Thanks.

Admin4XP
28
Admin4XP  
ajk:
depends on tf...4 hours you s/b at least 50-60 pips depending on currency. (assumes you know how to determine AND ARE trend TRADING)

While im doing back testing on Meta Trader and it gives the Max Drawdown in Percent. I mainly trade the 1HR TF

Admin4XP
28
Admin4XP  

Meta Trader Data Rate

Hi Guys,

im thinking of getting a PDA to trade from since Meta trader is availible on it. I was woundering if anyone knew the sort of data size meta trader tics would add up to. I cant imagine it being very large but i need to know what data package to go for.

Does anyone know how much data Meta Trader would download if I left it on say 24/5

Thanks for your help.

Adam Richter
84
Adam Richter  

Trigger Indicator

I found this indicator and it has some great value in finding entries and exits. I'm a novice programmer and didn't have much luck with this. If someone could translate this VT code to an MT4 indicator I'd greatly appreciate it. The VT code is there.

Traders Tips - June 2007

Thanks

Ronyn
29
Ronyn  

Adding alert for OsMA color indicator??

Can anyone help code an alert for this indicator so an alarm will sound when the bar shift color? I would really appreciate it. Tried to do it myself but it did not turn out well

Thanks in advance

dargane
21
dargane  

Need Help With Indicator

I am creating an indicator that utilizes the AbsoluteStrength indicator to determine market condition. It is supposed to display a row of circles of different colors indicator signifying a particular market condition. I plan to place four copies of the indicator with different time frames for market condition confirmation. My problem is I cannot get the indicator to display. Whenever I attach it to my chart, my computer hangs up. I have tried to find the problem for a week now but am coming up blank. I'm sure it's an easy fix, I just cannot see it. I would appreciate if someone can take a look at the code and see if they notice anything wrong. I DON'T RECOMMEND ATTACHING IT TO YOUR CHART AS IT WILL HANG YOUR COMPUTER IN IT'S CURRENT FORM.

Thanks in advance for any help.

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

//| Fantastic Four.mq4 |

//| dargane |

//| |

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

#property copyright "dargane"

#property indicator_separate_window

#property indicator_minimum 1

#property indicator_maximum 4

#property indicator_buffers 4

#property indicator_color1 Red

#property indicator_color2 Green

#property indicator_color3 Yellow

#property indicator_color4 Blue

//---- input parameters

extern int TimeFrame=0;

extern int Mode=1;

extern int Length=10;

extern int Smooth=5;

extern int Signal=5;

extern int Price=0;

extern int ModeMA=3;

extern int OverBought=0;

extern int OverSold=0;

extern int Level=4;

//---- buffers

int ExtMapBuffer1[];

int ExtMapBuffer2[];

int ExtMapBuffer3[];

int ExtMapBuffer4[];

double Bull[];

double Bear[];

double BullSig[];

double BearSig[];

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

//| Custom indicator initialization function |

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

int init()

{

//---- indicators

IndicatorBuffers(8);

SetIndexStyle(0,DRAW_ARROW);

SetIndexArrow(0,108);

SetIndexBuffer(0,ExtMapBuffer1);

SetIndexEmptyValue(0,0.0);

SetIndexStyle(1,DRAW_ARROW);

SetIndexArrow(1,108);

SetIndexBuffer(1,ExtMapBuffer2);

SetIndexEmptyValue(1,0.0);

SetIndexStyle(2,DRAW_ARROW);

SetIndexArrow(2,108);

SetIndexBuffer(2,ExtMapBuffer3);

SetIndexEmptyValue(2,0.0);

SetIndexStyle(3,DRAW_ARROW);

SetIndexArrow(3,108);

SetIndexBuffer(3,ExtMapBuffer4);

SetIndexEmptyValue(3,0.0);

SetIndexBuffer(4,Bull);

SetIndexBuffer(5,Bear);

SetIndexBuffer(6,BullSig);

SetIndexBuffer(7,BearSig);

//----

return(0);

}

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

//| Custom indicator deinitialization function |

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

int deinit()

{

//----

//----

return(0);

}

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

//| Custom indicator iteration function |

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

int start()

{

if(Bars<=Length) return(0);

int ExtCountedBars=IndicatorCounted();

//---- check for possible errors

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

//---- last counted bar will be recounted

if (ExtCountedBars>0) ExtCountedBars--;

int pos=Bars-ExtCountedBars-1;

while(pos>=0)

{

Bull[pos] = iCustom(Symbol(),TimeFrame,"AbsoluteStrength_v1.1",Mode,Length,Smooth,Signal,Price,ModeMA,OverBought,OverSold,0,pos);

Bear[pos] = iCustom(Symbol(),TimeFrame,"AbsoluteStrength_v1.1",Mode,Length,Smooth,Signal,Price,ModeMA,OverBought,OverSold,1,pos);

BullSig[pos] = iCustom(Symbol(),TimeFrame,"AbsoluteStrength_v1.1",Mode,Length,Smooth,Signal,Price,ModeMA,OverBought,OverSold,2,pos);

BearSig[pos] = iCustom(Symbol(),TimeFrame,"AbsoluteStrength_v1.1",Mode,Length,Smooth,Signal,Price,ModeMA,OverBought,OverSold,3,pos);

if (Bull[pos] > BullSig[pos] && Bear[pos] < BearSig[pos])

{

ExtMapBuffer1[pos] = EMPTY_VALUE;

ExtMapBuffer2[pos] = Level;

ExtMapBuffer3[pos] = EMPTY_VALUE;

ExtMapBuffer4[pos] = EMPTY_VALUE;

}

else

{

if (Bull[pos] > BullSig[pos] && Bear[pos] > BearSig[pos])

{

ExtMapBuffer1[pos] = EMPTY_VALUE;

ExtMapBuffer2[pos] = EMPTY_VALUE;

ExtMapBuffer3[pos] = Level;

ExtMapBuffer4[pos] = EMPTY_VALUE;

}

else

{

if (Bull[pos] < BullSig[pos] && Bear[pos] < BearSig[pos])

{

ExtMapBuffer1[pos] = EMPTY_VALUE;

ExtMapBuffer2[pos] = EMPTY_VALUE;

ExtMapBuffer3[pos] = EMPTY_VALUE;

ExtMapBuffer4[pos] = Level;

}

else

{

if (Bull[pos] BearSig[pos])

{

ExtMapBuffer1[pos] = Level;

ExtMapBuffer2[pos] = EMPTY_VALUE;

ExtMapBuffer3[pos] = EMPTY_VALUE;

ExtMapBuffer4[pos] = EMPTY_VALUE;

}

}

}

}

}

//----

return(0);

}

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

Michael B
3377
Michael B  

I am watching all these numbered blue, green and salmon dots with differing sizes on the screen. Sometimes there is a little red x...

It might help if you explain to us how to trade this indicator?

ES

Michael B
3377
Michael B  

I am curious...do you use the m5 or the h1 tf?

yyc196:
Hi,

To explain things further, you can see that there are 1 to 7 number created by this indicator, I need a sound alert whenever "1" (ZLR) appear on the chart. A simple sound with any further messages will do.

I hope this shall explain further. Thanks.

Regards
Michael B
3377
Michael B  

it appears the number one is always a long trade no? or if it is above its a short?

Michael B
3377
Michael B  

ok..well I suppose a kind programmer does not need to know these things unless you want a long and a short sound...please excuse the interupption and it seems like a nice indicator to alert the Woodie users about a trigger...

I noticed it disappears...will the sound go off and on then?

ES