Fantastic, works like a dream, thank you all for your help!
Posts made by Bogdaiki
-
RE: Lot Size = Percentage of Balance in Martingaleposted in Questions & Answers
-
RE: Lot Size = Percentage of Balance in Martingaleposted in Questions & Answers
@roar Thank you for the answer. It looks like I'm missing something - when saving the .ex4 I get this error: 'Balance' - function not defined. Do I have to first define 'Balance' somewhere?
Thank a lot!

-
Lot Size = Percentage of Balance in Martingaleposted in Questions & Answers
Hi all,
Is there a way to use the "% of Balance => Lots" as a the "Initial Volume" if the "Money Management" option is "Betting: Martingale / Paroli"?
(Maybe by defining a Constant, but I can't figure how...)
Thank you!
-
Can a constant be used in MT4 optimization?posted in Questions & Answers
Hi all,
I'm trying to reduce optimization time and avoid unnecessarily runs. The goal is to have same values for Buys and Sells, so instead of numbers I created constants and used the same in both Buy and Sell. Can this constant be used in the MT4 optimizer?
For example: I want to optimize the trade volume and the number of trades in a grid. If I start at 1, end at 10 with step 1, I'll have 10x10=100 runs per buy and 100 for sell and a total of 100x100=10.000. But I won't need the various permutations between Buys and Sells (I won't want to use say Volume 3 for Buy, 5 for Sell, 7 trades in the Buys grid and 6 trades in the Sells grid - I only want to test same volume 3 for Buys and Sells combined with same number 5 of grid orders for both Buys and Sells, in total 100 combinations, so 100 times faster).
I hope it makes sense, thank you!
-
EA to work only for testingposted in Questions & Answers
This might be explained somewhere but I can't seem to find it and would appreciate your help.
Can FxDreema create an MT4 / MT5 EA that only works in the Strategy Tester? I've seen on the Market paid EAs for sale that have Demo versions that only work in testing mode, others in demo accounts only (although if a strategy works on higher time frames one can attach the free Demo EA to a demo account and manually copy the trades to a live account, without having to pay for the EA).
So I'm wondering what is the best practice to build an EA that can be tested for free and have a sale price or rental price.
Thank you!
-
RE: Best way to increase volumeposted in Questions & Answers
@trader-philipps said in Best way to increase volume:
@bogdaiki Check the (Money Management docuemtation) in fxdreema. I think you could use any of them besides the SL based ones.
I read those, thanks, I couldn't really figure how to put it together in the case of the system I described. If you can I'd truly appreciate you showing me how. Thanks!
-
RE: Best way to increase volumeposted in Questions & Answers
@l-andorrĂ said in Best way to increase volume:
A 1000%? Really? What kind of money management is that?
It equals to 0.1 lots per $1000. A bit aggressive, true, but at lower balances it's worth it, you have a chance to grow faster and reduce lot size later, over 10k.
-
Best way to increase volumeposted in Questions & Answers
What would be the best (smallest number of coding blocks) way to increase volume for additional trades in the same direction?
My MT4 system is trading based on signals (objects) given by a VSA indicator (I only have the .ex4 file). No Stop Loss, no Take Profit. It opens Buys every buy signal and closes them all at first sell signal - vice versa for Sales.
So I'd like to open a trade at say a Volume of 1000% of Balance and if there are additional trades in the same direction to increase trade volume by a factor (1.5 or 2 etc.) until they are closed at the first signal for trades in the opposite direction and start another sequence at the same 1000% of Balance.
Thank you all for your help!
-
RE: Pending order expiryposted in Questions & Answers
Another thing I can't figure is how to stop the EA from trading if a certain profit, in percentage of either Balance or Equity, is reached for the day.
Wondering if you can help on this too.
Thank you so much!
-
RE: Pending order expiryposted in Questions & Answers
Thank you! It looks like it works, I left it at "Either Buys or Sells" as I have both and it does the job. I appreciate your help @ambrogio !
-
Pending order expiryposted in Questions & Answers
I'm opening a pending order in the opposite direction at each Buy and Sell and I want the pending orders to expire if my Buy or Sell hits my Take Profit target.
I tried using Custom / Expiration Mode / Account Balance / Adjust *100.01% (the logic being if there is a small profit by hitting the Take Profit and the Balance increases by 0.01% the pending order should expire). For some reason this doesn't work in my tester. Is there another better way to achieve this expiration?
Thank you!