Zigzag indicators - page 31

 

hi

how to make an EA basing on the ZigZag_Larsen_101.ex4, i try to make it,but i do not know it is right. if someone can check it,it will be very great. thank you.

code:

int start()

{

int sonucx=0;

double v1=GlobalVariableGet(Symbol()+"ZigZag_Larsen_101");

if(v1==0) return;

if(Bars<100 || IsTradeAllowed()==false) return;

Print("v1=",v1);

CheckForClose();

if ((v1==1) && (Buyvar(Symbol())==0)) // Buy sinyali Geldi. ve Buy Emri Yok o zaman Buy Emri Giriniz.

{ticket=OrderSend(Symbol(),OP_BUY,HedefLot,Ask,3,Ask-HedefZarar*Point,Ask+HedefKar*Point,"HaskayaFxZigzagBuy"+Symbol(),BuyMagic,0,Green);

// Buy Sinyalini S齠齬layacakki bir daha almas齧

GlobalVariableSet(Symbol()+"ZigZag_Larsen_101",0);

// sonucx=2;HepsiniKapat(sonucx);

}

if ((v1==2) && (Sellvar(Symbol())==0)) // Sell sinyali Geldi. ve Sell Emri Yok o zaman Sell Emri Giriniz.

{ticket=OrderSend(Symbol(),OP_SELL,HedefLot,Bid,3,Bid+HedefZarar*Point,Bid-HedefKar*Point,"HaskayaFxZigzagSell"+Symbol(),SellMagic,0,Green);

GlobalVariableSet(Symbol()+"ZigZag_Larsen_101",0);

// sonucx=1;HepsiniKapat(sonucx);

}

if ((v1==2) ) {sonucx=1;HepsiniKapat(sonucx);GlobalVariableSet(Symbol()+"ZigZag_Larsen_101",0);}

if ((v1==1) ) {sonucx=2;HepsiniKapat(sonucx);GlobalVariableSet(Symbol()+"ZigZag_Larsen_101",0);}

Files:
 
 

heheh, probably not

the reason is simple

-- it is FOR broker and ANTI newbies

SL and zig zag is very MISLEADING, and let us think in U-turn and straight line A to B as origin and destination !!

or ON-GOING concern (forever) , just like $audusd NOW

[[ good discussion, when people disagree with me , with a good rationale, I may not be Correct all the time -- the ZZ I was talking about is those basic ZZ or 1-2-3 alike V-shape indicator == after we entry, damn the barrier break, damn it, it redraw last part of the curve with new height or new support]]

just like the disney theme song " disney wizard waverly" -- don't let it get into your head (not correct)

http://tiny.cc/4ffai

http://tiny.cc/f83tj

having said that, I still spend time in forex , as I think, if I could get rank #2 among medic of 200 students [ in 1 single MCQ test only, not in general ], maybe I am smart enough to get the forex game RIGHT and beat the competition one day -- still far to go , man !

i.e. just like a casino table that play CRAB, can we use the bell shape curve thinking to imagine every NEXT game result , will be REVERSE direction -- that fascinate us

 

hello, has someone made an audio alert for DT_ZZ.mq4? An audio alert that rings as soon as a dot appears (and not only at candle close)

Files:
dt_zz.mq4  4 kb
 
poruchik:
' time already the indicator the Zigzag of new type which not re-paint and ideally shows points of a turn of the prices (naturally, with easy delay Has come to get,

But it is minimal!). the indicator has put in pawn in it three modes (mode): 0 - on average, 1 - on low, 2 on high,

And also an opportunity of elimination ' noise ' on the schedule of the price (NoiseLevel) and корректироваки sensitivity of a zigzag. We swing, we use, admire the author! I present the new indicator.

It differs a unique principle of definition of a turn. ' Step-type behaviour ' a zigzag is adjusted by parameter NoiseLevel, the phase детертора a turn is established by parameter SwitchPersent.

Parameter Mode = 0 - operation on closing a candle, Mode = 1 - on opening a candle.

More preferably on opening, in this mode delay on 1 interval, but is not present false switchings. It is possible to establish SwitchPersent = 40-50 and simply to trade on turns (sm the schedule).

Let you does not confuse, that the point of a turn is as though shifted from the valid extremum.

But actually the top of a zigzag is in a point where the turn is actually registered.

It is convenient, since on the schedule it is possible to define value of the price at the moment of indication of a turn.

As auxiliary indicators it is possible to use stochastic and parabolic. The percent of profitable transactions in such mode is expected the order of 60 %. '

hello, can anyone give me the parameters in the inputs section so that zig_zag_larsendoesnt change during candle? i.e., so that arrow is permanent right since the beginning of the candle and doesn't disappear at candle close as it happens sometimes with standart parameters

 

ZigZag_with_Patterns EA

Hello franiok

Thank you very much for your great indicator.

I wanted to use it in one of my EAs. However, I can't call it properly.

The only version that works sometimes is:

ZZp1 = iCustom(NULL,0,"#ZigZag_with_patterns",barn,Length,PatternLength,PatternWidth,0,2);

ZZp2 = iCustom(NULL,0,"#ZigZag_with_patterns",barn,Length,PatternLength,PatternWidth,0,1);

Buy : ZZp2 !=0;

Sell : ZZp1 !=0;

It opens Buy or Sell positions sometimes. But I need it to open a position each time the pattern appears.

Could you please tell me what my mistake is.

Thanks a lot

Sachmo

 

Zig zag type

Hello All,

I have an idea and hope that someone may have come across it or could point me in the right direction.

Does an indicator exist the could mark a straight line from one point to the next based off an average change. Conceptually, if the average turns bearish it would fixate a line to the top of the signal candle and if the MA turns bullish it would fixate a line to the bottom of the signal candle. If the line paints after the candle is closed then there is no need for it to repaint.

It would be better if the line found the last low or high in between each signal to plot there, but I do not know if that is possible. A zig zag type would be perfect as it find the low and high, but this indicator would not repaint.

Attached is the MA that I am using to plot my turns if that is helpful - I would be happy to pay someone to create this for me if it does not exist.

Kindest Regards - everything on this site is very helpful - thank you to all the contributors.

Ps - forgive me, I thought that I had the mq file - I will look for it at home if it is necessary. Also, I can attach a photo if that would help clarify.

 

Chart Example

Here is a chart example, if it helps with a visual.

The arrows shown work off a linear weighted average cross.

Regards

Files:
example.png  97 kb
 

About ZIGZAG NONREPAINT

newdigital:
Just what I found:

Zigzag with alert: https://www.mql5.com/en/forum

Step Zigzag with alert: https://www.mql5.com/en/forum/175747

Zigzag Fibo indicator with alert: https://www.mql5.com/en/forum/173172

ZigZag Pointer with alert: https://www.mql5.com/en/forum and this one https://www.mql5.com/en/forum/177573

ZigZag_Pointer_alert_only at turning points: https://www.mql5.com/en/forum

Some others:

Harmony_05 indicator with alert: https://www.mql5.com/en/forum/173588

Hi can you suggest me where to ask to create ea for me? I have nonrepaint zigzag.

 

Nonrepaint zigzag

Iam200017,

Can you share your nonrepaint zigzag, so we can test and offer some assistance in locating what you need as well as provide advice to improve it?

Many thanks!!

Theo

Reason: