Thank you ! Yep this worked!
I get mixed up sometimes they 0 doesn't exist. And I also noticed sometimes mt4 doesn't read the script the first time, then I re open and it fixes it so that makes it annoying.
Posts made by surachefx
-
RE: 5 candles in a row with lower lows. Not workingposted in Questions & Answers
-
RE: How to use ZigZag [advanced]posted in Tutorials by Users
You are a life saver. Thank you so much for clearing this up. I will stop annoying you on this now.



-
RE: How to use ZigZag [advanced]posted in Tutorials by Users
Thank you again.
Okay so it didn't work.
This is what I have so far. Also I changed the Depth variable from "12" to "6" to capture the smaller zigzag.
https://fxdreema.com/shared/FSzlRw9udWhat I want to achieve is when you have a zigzag, when it completes the 3 wave structure, you look for 6 candles dropping with lower highs and lower lows consecutively, then you BUY once the high of the lowest candle (1) is broken.
Below is a picture of the structure.

Can this be done?
Thank you so much!
-
5 candles in a row with lower lows. Not workingposted in Questions & Answers
Hi guys,
Trying to create a script for lower lows but it isn't working.
https://fxdreema.com/shared/DO4F6IkJb
Needs to be 5 candles in a row with lower lows. I don't care about the highs, closes or opens. Just the lows.
I have tried multiple scripts with no luck, and also used the "or" block which didn't work.
Thanks
-
Taking profits and lows or highs instead of pipsposted in Questions & Answers
Hi guys
When you put in "Take profit" you a specifying a fixed profit. How would I use take profit when the structure breaks a high for a long, or breaks a low for a short ?Every structure is different so using pip value changes all the time, but breaking highs and lows can work universally.
Thanks in advance
-
RE: How to Make EA trade Engulfing candleposted in Questions & Answers
@luckybest
I am not 100% on this but I believe you need to specify the opens and closes with more blocks.
A body size > another body size doesn't mean it is engulfing, it could be larger in nature but greater in pips and be "true" but not engulfing.I think it needs to be something like;
Bearish Engulfing
Block 1-
candle 2 close < (below) candle 1 openBlock 2-
Candle 2 open > (above) candle 1 closeBut then you can also go further and say
Candle 2 close == to candle 1 open
But if true
Candle 2 open must be > candle 1 close
VisversaAnd all need to be met so this would automatically indicate candle 1 is bearish abd the body needs to greater than either side of candle 2.
If this doesn't work I am sorry. I am learning myself.
But don't be afraid to test yours and this on strategy tester. No harmAll the best
-
RE: How to use ZigZag [advanced]posted in Tutorials by Users
Hi Miro,
thank you for the reply.
Maybe I am not understanding. for instance this is the script I have added a few blocks for the sell.
https://fxdreema.com/demo/simpleIt sells below what i believe is the H1.

What I hope hoping to achieve:
BUYS

SELLS

How possible is this? Thank you!!
-
RE: % of balance? Want to use 50% what should I put in?posted in Questions & Answers
@digitalb23
If i am not wrong, you need to put in 5000 in the box "how much" for 50%
Please test this first -
RE: How to use ZigZag [advanced]posted in Tutorials by Users
Hi Miro,
This is really great stuff and what I was looking for.Is there a way to label the waves so we know which one is actually the L1 and H1 of the structure?
What I want to do is have an impulse up, (top is H0), then next move down (L0), then next move up (H1), then sell here and take the L1 down. The problem i am having is I don't actually know which one the calculation is actually labeling as L1.
Thank you in advance and for this great script
-
Impulse up / down or Zigzagposted in Questions & Answers
Hi all,
I am trying to work out how to build an impulse up or down. This would just be consecutive bars up which can also include inside bars and outside bars.
For instance a series of candles that have higher highs and higher lows, and also inside bars that are within the impulse. Let's say 8 bars in total.
The buy signal would be once the 9th bar breaks the previous high. Is this possible?If so, is it also possible to construct a zigzag pattern , A being the impulse down (8 bars) , B being the correction (5 bars in opposite direction) C being impulse down of 8 bars also, and the buy is at the 9th bar that breaks the previous bar high?
Thank you