Semi Martingale with pending orders
-
Hello.
Could someone give me some pointers regarding fxdrema app. It is great designer but I am new to forex and to this app so any help is appreciated.
I want to make semi martingale but with pending orders.
So something like if there is no pending orders, set buy and sell (lot 0.01) pending order 50 pips from curent price. When buy or sell order start, on stop loss of either, new buy and sell pending order is created but with lot 0.02 and on the same price level like the first buy and sell pending order. If stop loss is hit, repeat but with lot 0.03 (or some other lot depending on strategy) and so on...
On take profit start from begining but with different magic number.
Is this possible to create this with fxdreema?
Thnx
BR
DarK -
Something like this, I hope: http://fxdreema.com/shared/c4T7fw43d
This can be made using "on Trade" event as well, but this should work.
The Pass once block is because in backtester there is no last closed trade in the beginning.
"Check last closed trade profit" is ugly inside, sorry for that, I have to beautify it one day.
This is probably not very well done as I created it fast, but it shows some basics and I normally prefer to show how things work instead of creating full EAs. 1 Constant and 1 Variable are used. -
__Something like this, I hope: http://fxdreema.com/shared/c4T7fw43d
This can be made using "on Trade" event as well, but this should work.
The Pass once block is because in backtester there is no last closed trade in the beginning.
"Check last closed trade profit" is ugly inside, sorry for that, I have to beautify it one day.
This is probably not very well done as I created it fast, but it shows some basics and I normally prefer to show how things work instead of creating full EAs. 1 Constant and 1 Variable are used.[/quote:352vftkm]Thank you very much. This works and i learned alot.
BR
Dark