Two days trading on demo and it continues loving japan (i wonder why...)
1
Trading multipair triangles, no stoploss 78 replies
'Blessing' EA Modification Wanted 3 replies
Single, Few Pair Traders (1-4) vs. MultiPair Traders (8-20) 0 replies
DislikedHow do you handle weekends? Do you close them all manually on friday or just let them be?Ignored
will do that manually today, a flag "UseWeekendShutDown" would be good in the next version
Another thing I thought of, to be able to use the lot-increment for open trades: for every pending order on an open trade, reduce the new variable "MaxOpenPairs" (or whatever the name will be) by one and delete the oldest pending orders for a new pair
DislikedI've been collaborating with Ursinho (he mentioned me as 'fxraider') to help bug-fix the project and fast-track the testing process. For those interested in assisting, I've attached an MT5 version (based on additional fixes to v3.9.6.30 gamma) that permits multi-pair back-testing. Please be aware that there seems to be an issue with "once per bar" functionality, so I suggest turning that off for the time being. Visual testing in MT5 is SLOW ...but speeds up dramatically when the visual tester window is minimised. Another tip for faster testing is...Ignored
Disliked{quote} I was thinking of following: on London close, close all trades in profit (green) close all pending orders for new pairs do not allow pending orders for new pairs let open the other (red) open trades will do that manually today, a flag "UseWeekendShutDown" would be good in the next version Another thing I thought of, to be able to use the lot-increment for open trades: for every pending order on an open trade, reduce the new variable "MaxOpenPairs" (or whatever the name will be) by one and delete the oldest pending orders for a new pairIgnored
Disliked{quote} Hy.. is possibile use two isntances of Ea with different magic and set file in the same mt4 ? Thanks RegardsIgnored
DislikedCan you tell me about option "percentage of balance loss before trading stops", in what order does close tradesIgnored
//+-----------------------------------------------------------------+ //| Calculate Stop Trade Percent | //+-----------------------------------------------------------------+ double StepAB = InitialAB * (1 + StopTradePercent_); double StepSTB = AccountBalance() * (1 - StopTradePercent_); double NextISTB = StepAB * (1 - StopTradePercent_); if(StepSTB > NextISTB) { InitialAB = StepAB; StopTradeBalance = StepSTB; } // Stop Trade Amount: double InitialAccountMultiPortion = StopTradeBalance * PortionPC_; stop_trade_amount = InitialAccountMultiPortion; if(pairinfo[i].PortionBalance < InitialAccountMultiPortion) { if(pairinfo[i].CbT == 0) { AllowTrading = false; if(PlaySounds) PlaySound(AlertSound); Print("Portion Balance dropped below stop-trading percentage"); MessageBox("Reset required - account balance dropped below stop-trading percentage on " + DTS(AccountNumber(), 0) + " " + TradePairs[i] + " " + (string) Period(), "Blessing 3: Warning", 48); return (0); } else if(!ShutDown_ && !RecoupClosedLoss) { ShutDown_ = true; if(PlaySounds) PlaySound(AlertSound); Print("Portion Balance dropped below stop-trading percentage"); return (0); } }
for(int Order = OrdersTotal() - 1; Order >= 0; Order--)
DislikedI've been collaborating with Ursinho (he mentioned me as 'fxraider') to help bug-fix the project and fast-track the testing process. For those interested in assisting, I've attached an MT5 version (based on additional fixes to v3.9.6.30 gamma) that permits multi-pair back-testing. Please be aware that there seems to be an issue with "once per bar" functionality, so I suggest turning that off for the time being. Visual testing in MT5 is SLOW ...but speeds up dramatically when the visual tester window is minimised. Another tip for faster testing is...Ignored
Disliked{quote} Here is the code: //+-----------------------------------------------------------------+ //| Calculate Stop Trade Percent | //+-----------------------------------------------------------------+ double StepAB = InitialAB * (1 + StopTradePercent_); double StepSTB = AccountBalance() * (1 - StopTradePercent_); double NextISTB = StepAB * (1 - StopTradePercent_); if(StepSTB > NextISTB) { InitialAB = StepAB; StopTradeBalance = StepSTB; } // Stop Trade Amount: double InitialAccountMultiPortion = StopTradeBalance * PortionPC_; stop_trade_amount =...Ignored
DislikedNot sure why lot sizing should differ between versions - the only things that *might* vary are calculations based on margin requirements as the return values in MT5 are not always the same as in MT4. Beyond that, results should be fairly similar as long as settings are the same... just remember that MT5 testing is subject to things like variable spread and slippage, so the numbers will never be identical.Ignored
DislikedFill a folder (directory) with set files and have the EA access them by name creating the pair list and parameters from the files it finds. After reading a file it could be moved to an archive folder. New files appearing in the primary folder would cause old parameters to be overwritten or new pairs to be added. (Or even build in auto-optimization, but that's a whole new batch of craziness.) :-) Trading 28 pairs, especially with the same parameters for each will eventually require a large account or produce unacceptable losses.Ignored