I need help but i do not know where to start
-
hi first off, great platform.
ok, basically this explains the strategy (a type of grid) i am trying to put into fxdreema, hope some1 can help me.
i have no mql programming knowledgeok, basically the options is:
-
we can decide whether to go BUY, or SELL for our trades
-
we can decide on the lot number/size (0.01 etc)
-
we can decide on whether to go:
3.1) market entry (ie enter immediately) or
3.2) to place pending orders of grids -
we can decide the grid space between each levels (which will affect the next level of grid for 3.1 or 3.2 above
-
we can decide to place the grids either
5.1) on top side only (ie when price rises it triggers more grids level)
5.2) on bottom side only (ie when price drops it triggers more grids level)
5.3) or both side (ie grids of orders placed above and below from initial entry) -
the EA will compute overall profit based on:
example for SELL type orders, and market price is trending up, so more SELL order being trigger as price went up
EA will compute how many late entry orders to KILL OFF/EXIT with the very bottom (in this case the first entry) to get a net profit
lets see a numerical example in pips value
every 10 pip 1 sell order entry, prices went up to trigger another 5 levels of SELL...
market price fluctuate...
market went down 30 pips from our last entry
so now, the overall basket will look like this in pip value (from top/last entry)...+30, +20, +10, 0(market revert to this level), -10, -20
so the EA will compute firstly...the last order entry +30 v first order entry -20...if net is positive gain...it will kill off these two
if assuming the last order entry was +20, +10, 0, -10, -20, -30...the EA compute last order +20 v -30 is net loss, it will recompute with 2 last orders ie +20+10 v -30 result in net gain = close these 3
6.1) perhaps adding another option to set number of late entries to compare with the earliest entry to decide before ea compare the net gain/loss -
after the EA closes off the bottom most entry with the top entry/entries (depending on number of layers needed as shown in step 6)...
the EA will immediately reenter layers of grid at the top at the same price as previously enterred
example in step 6....say the last order entry with +30 pip was EURUSD 1.1000 which was exited with the bottom most entry, the EA will reenter pending order of 1.1000. EA WILL NEVER reenter the bottom most entry exited.
in other words use late entry/entries to knock of earliest most entry if it net gain
Basically that explains the strategy. hope some1 can help me

thanks a million in advance
-
-
About the different options - https://fxdreema.com/demo/mt4-constants - here is how you can define multiple input parameters for the EA. If you want to have some parameter that can be either on of off, make it with bool data type and value of true or false, then in "Condition" compare it with Value -> Boolean or with Value -> Numeric (1 or 0)
But if you want to make some kind of universal EA... you know, the reason why I decided to make a tool for EA generation was because I was tired of trying to write universal EAs :))I don't understand what the letter "v" means here "+30 v first order entry -20" and I'm losing the idea while reading the text. Note that my language is not english. But I have the feeling that this strategy would require many blocks.
I worked on some block to get the biggest loss and to eliminate multiple profit trades to cover this loss. This block was never published, mostly because it's one of these "I want one more feature..." blocks -
hi fxdreema,
thank you for your prompt reply.
perhaps my explanation with words is abit confusing.
i attached herewith an excel file that shows you the flow of the strategy and how the EA behave. Perhaps is much clearer.
thank you.
......
EA xplained.xlsx -
Ask me about specific problem, because I'm not going to make a whole EA

-
hi fxdreema
ok understood
so based on what you read from my excel, where can i begin?
which example/template i can refer to and tweak it, for start maybe a grid of pending orders with option to select gaps in pips between levels?
i have no mt4 programming knowledge, so starting is hard

-
There is no programming, only logic. I don't understand your xml anyway
Look at how many posts I have, over 5000 now. I lost all my will to think about complex strategies. And my idea from the start was to help people to understand the EA builder, not to make their strategies. There is always someone asking me to make his strategy, people want to pay me to do that, but this is not something that I want to do and I always reject these offers. I just want to help people to understand the tool, so they can then work on their strategies alone. And there are over 200 people with active subscription at this moment. Imagine what would happen if I have to build more than 200 new strategies every week or every month
This is what I want from you - to try to make something, to see how blocks work, to experiment, and if you have some very specific question to ask me. My mind just stops to work when some complex question is on the table 
-
It's easier to put few blocks and make strategy with pending orders, but then it's harder to see what is going on on the chart and in the logs. Maybe this is personal choice and depends on the strategy
-
hi fxdreema
ok, i am using the default website fxdreema, coz its the only version i can export my mt4/ex4 file.
i try used download version but seems failed.
so referring to website version, i can click the "example" to find a few examples.
where else can i find more resources/complex blocks to experiment with?

thanks
-
The desktop version is 1 year old and I removed it's link (/desktop), but there are still people using it and I rarely receive complaints. I think it should be working, but I would also recommend the online version, because this is the one I actively support. But I don't know what are your problems exactly.
The /examples section contans few basic examples and this is more like a tutorial. Each example has description and if you understand those examples, you understand how the most important things work. Or at least this is what I believe

-
so where can i see examples of more complex block/template

-
People often put shared versions of their projects here in the forum. I personally don't make EAs, especially complex ones. After years of programming everything in my head tells me "make it simple, make it simple". I have seen projects with more than 1000 blocks, but to be honest, I think that this is overkill. I can only recommend to make your projects as simple as possible