You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Cijas's idea
i think there is no problem for trying cijas's idea. i wish it could add the advantage of this system.
Can not wait for the development progress
I am curently working on it
i think there is no problem for trying cijas's idea. i wish it could add the advantage of this system. Can not wait for the development progress
Very easy to let the win trades keep on: in the code you change :
BuyTicket = FixTakeProfit(magic,0);
if(BuyTicket == 0)
{
CleanAllPendings(magic,2);
cmd = 0; price = Ask; colour = Green; takeprofit = Ask + TP*Point;
if(UseStopLoss == true) stoploss = Ask - levels*TP*Point;
OpenOrder(cmd, Lot, price, slippage, stoploss, takeprofit, magic, colour);
SetPendingOrders(2,Lot,price,slippage,stoploss,TP,magic,levels);
return(0);
}
SellTicket = FixTakeProfit(magic,1);
if(SellTicket == 0)
{
CleanAllPendings(magic,3);
cmd = 1; price = Bid; colour = Red; takeprofit = Bid - TP*Point;
if(UseStopLoss == true) stoploss = Bid + levels*TP*Point;
OpenOrder(cmd, Lot, price, slippage, stoploss, takeprofit, magic, colour);
SetPendingOrders(3,Lot,price,slippage,stoploss,(-TP),magic,levels);
return(0);
}
by
BuyTicket = FixTakeProfit(magic,0);
if(BuyTicket == 0)
{
CleanAllPendings(magic,2);
cmd = 0; price = Ask; colour = Green; takeprofit = Ask + TP*Point;
if(UseStopLoss == true) stoploss = Ask - levels*TP*Point;
OpenOrder(cmd, Lot, price, slippage, stoploss, 0, magic, colour);
SetPendingOrders(2,Lot,price,slippage,stoploss,TP,magic,levels);
return(0);
}
SellTicket = FixTakeProfit(magic,1);
if(SellTicket == 0)
{
CleanAllPendings(magic,3);
cmd = 1; price = Bid; colour = Red; takeprofit = Bid - TP*Point;
if(UseStopLoss == true) stoploss = Bid + levels*TP*Point;
OpenOrder(cmd, Lot, price, slippage, 0, takeprofit, magic, colour);
SetPendingOrders(3,Lot,price,slippage,stoploss,(-TP),magic,levels);
return(0);
}
But of course you must try to do some trailing stop (or trailing stop after breakeven) : it is where i have some trouble even by pasting some codes from other EAs.
Modify
Cijas could you please modify the BM V5... with the code you wrote in previous post.. Thanks.. and post it. so every one can backtest or forward test.
LOL ok but u need to add at least some kind of trailing stop or trailing steps
Cijas could you please modify the BM V5... with the code you wrote in previous post.. Thanks.. and post it. so every one can backtest or forward test.
It doesn't close the win side so no usefull now.
No Problem
Keep trying cijas....
cijas' idea is explaining how we can do your first idea
your second idea is to add one more 0.1 lot on winning side everytime the martingale side double up
we need to visualize this graphically to see its sum effects
i think rifo will have to let this ideas flow and we'll see where it goeshi azman
Yes right. I'm trying to upload a corrected version of that table because I forgot the topmost 12.8 lots. But have anyhow problems with the upload.
And that changes nothing in the outcomes, its only for correctness.
You are right we need a coder to change that, do you have any skills in coding?
hbud
trailing stop is to close the not martingale order
I really dont get , what for you guys need a trailing stop if you already have one. the martingale tp.
the martingale tp works only for the martingale orders not for the other side so if i don't write a TP on the not martingale side, the only solution i thought to close the trade was a trailing stop.
But of course we can try to program the Ea so when the martingale side reach the TP, all orders (pending ones and opens ones) will be closed or deleted, even the order which isn't in the martingale progression.
Example :
time 0 : 0.01 lot sell 0.01 lot buy
time 1 : 0.01 lot sell 0.01+0.01 lots buy
time 3 : 0.01 lot sell 0.01+0.01+0.02 lots buy
if i don't write a TP at the not martingale side (which is in this example the 0.01 sell) when the martingale side (the buy here) reach TP the EA must close the sell orders and buy orders (opened ans pending ones).
I guess it can be done.
Of course it is only to let the win keep on without closing it at each pipstep (like it is now in BM5).
I need to look more to your idea wich is different.
Ahhh, now i got it.
But it is like I thought, we're talking not about the same.
Besides my first suggestion, here is a possibly other way to play this game.
But I'm not sure because of the spread and margin.We buy at each level a new 0.1 lot,as already mentioned above. Below is a table with the outcomes at the particular levels.
The columns in the middle are the lotsizes. Col. A shows the wins at the current levels col. B the losses on the martingale side. Btw the losses are growing with (n*2)+1 and in col. A we always obtain triangular numbers.
(divided by 10 due to our minilots)
http://mathworld.wolfram.com/TriangularNumber.html
If for instance the price is rising up to lets say level 7 and then retraces to level 6, then the martingale makes -3.1+3.2*gridspace = 0.1*gs (I see it as a kind of grid) and the long side in col. A makes 1.5-0.1*gs = 1.4*gs.
Makes totalized 1.4+0.1= 1.5 full lots * gridspace. Of course all without spread.With Cijas method we would get an outcome of 1.0 full lots if I get it right. Azman, I'll be back tomorrow then we can discuss everything.
Its midnight,I go to bed.
hbud
I really dont get it , what for you guys need a trailing stop if you already have one. the martingale tp.
hi azman
You are right we need a coder to change that, do you have any skills in coding?
hbudmy coding skills are only limited to rudimentary visual basic language
mql is still very much alien to me
that's why i was begging timbobo to come back
cijas, can you mod the script?