- Search Forex Factory
- 9 Results
- LLaP replied Mar 23, 2013
This strategy sounds reasonable. Thank you for sharing!
- LLaP replied Mar 22, 2013
nubcakes formula is right i recalculate it. forget my previous comment
- LLaP replied Mar 22, 2013
Here is the formula i use: ... extern double risk=0.01; extern int sl=200; // in points extern int comission=8; //in points ... lots=NormalizeDouble(AccountBalance()*risk/((sl+comission)*MarketInfo(Symbol(),MODE_TICKVALUE)),2);
- LLaP replied Mar 22, 2013
The equation which calculates the lot size looks like this: lots=(balance*risk)/(stoploss*tickvalue). It has to be changed to lots=(balance*risk)/[(stoploss+comission)*tickvalue]. That is easy for any programmer.
- LLaP replied Mar 22, 2013
This requires only a little change in the code. Anyhow your example is too exaggerated, unless you use 1 pip stop loss.
- LLaP replied Mar 21, 2013
Delete the "extern int TimeFrame=0;" line. In the init above the swich operator add: "int TimeFrame=Period();"
- LLaP replied Mar 21, 2013
This trading system looked interesting, but the indicator repaints, so the ea based on it cannot function good. If you want an ea, you must fix the indicator first. The indicators source code is needed first!
- LLaP replied Mar 20, 2013
Hi Forexstrong I found this strategy interesting, so i coded it. Sadly, the backtest didn't bring positiv results with standard settings. If you want to test is further or have some modification to apply, here is the mq4 file. Here is the backtest ...
- LLaP replied Mar 18, 2013
hi blade I can help you if it is still needed!
- Posts by Member Search: 'LLaP'