Martingale strategy
11件の返信
It is an often question if you can create Martingale strategy in EA Wizard.
I created simplified on just for the test.
It has 3 levels:[list=1]
[*]if CCI crosses above 0 it opens order with PT=20 pips and SL = 20 pips with 0.1 lots size
[*]if first order ends at SL, it opens second order with the same PT/SL with 0.2 lots size
[*]if second order ends at SL, it opens third order with the same PT/SL with 0.3 lots size
[/list]
after that it ends.
If any of the orders ends with profit, it will open next order normally at 0.1 lots.
The strategy is just as a sample, it contains only long rule.
Stop Loss level is tested manually in the condition, so that we can make the appropriate action when it is hit.
マーク
StrategyQuantアーキテクト
0
Thanks for these examples. It helps us to align our thinking!
0
Just seen this will take a look later.
0
What if I dont want to close existing orders? just want to open additional order with double quantity. I tried to modify but it looks like StrategyQuant doesnt allow to have multiple orders with same quantity open. Is that true?
0
You have to assign a new magic number.
0
What if I dont want to close existing orders? just want to open additional order with double quantity. I tried to modify but it looks like StrategyQuant doesnt allow to have multiple orders with same quantity open. Is that true?
yes, you can open multiple orders at the same time but you have to use a special Magic Number for every new order.
マーク
StrategyQuantアーキテクト
0
Having a look at this one – I want to try add a Martingale to a strategy – I hope this will help!
0
マークさん、こんにちは,
I want to input a user variable in my martingale strategy so that I can choose within the EA input settings, how many times my trades will double before they quit.
How do I create this setting for the EA?
Also, I only just saw your martingale example, whereby you create every new doubled trade as a new rule, on my one I have done every new doubled trade as a new ‘THEN’ setting. This was before I saw your example. Does this mean my method won’t work and I have to redo it all?
ベストなご時世を!,
SM
0
Hey guys,
I really like this topic.
I was obstinate with this kind of rules since I started having fun ( 😉 ) with Forex.
The problem I saw, at the beginning with Casino’s rule (which Mr. Fric introduced at the beginning) is we are reaching 2 or 4 lots easily if we are creating several levels.
My results were not good enough though.
I tried to attach an example (according to what mmsk stated) but I couldn’t because of KB. Any way of doing it?
I’ll be back to you with new comments.
素敵な一日をお過ごしください!
0
I think this martingale strategy is incorrect.
In step 3:
- “3. if second order ends at SL, it opens third order with the same PT/SL with 0.3 lots size”
I think martingale states that the bet should double.
So the lot size should be 0.4 lots.
よろしくお願いいたします。,
Geodepe
0
Let me dedust this thread a bit 😉
I’ve got the EA-Wizard less than 24 hours, so excuse my ignorance… Tried a bit around with a Grid system, and succeeded (more or less), even if it’s much more of a workload than I hoped for.
What I learned until now is that we cannot create baskets using the EA-Wizard, or well we can create them using different Magic numbers. The problem will be the exit strategy, so I’m wondering if there are ways to check if all trades are in plus for a certain amount and then close all the trades. Best would be of course if that could be done with long & short trades separately. At least it would be better for back testing results. However, if not one could overcome that issue to make 2 different EA’s one for long and one for short trades, and run them in two charts. At least that’s what I do with other Grid traders, which cannot manage to open (long / shorts) at a time.
Bgrds, Jethro
0
Well, defenitely possible to create a grid system with Ea-Wizard, have done a first test, with 3 exits, 1. TP, 2 . TS, 3. Amount => close all trades. So seems that have to stay this way that you create different EA for long and shorts. Probably, there could be made calculations to get everything together with a lot of variables and functions, but I created already a monster with almost 784 kb for the .mql file and that’s only for the long trades. 😛 Back testing ‘‹’‹is for sure much slower than on anything I tested before, so seems a lot of calculations are going on ?
However, got already ideas how to improve.
0
11件の返信を表示中 - 1 - 11件目 (全11件中)