InitialLots, it should work now.
But I don't know how to use the extern Lots parameter as InitialLots.
It will only begin from 0.01 with the current code.
We can't change it except on MetaEditor.
A simple solution may be to just have another program running that would automatically add/modify the Stop Loss to a set value on "every" order, after it's been created. Doing it this way wouldn't require any modification to the EA. Is this a possibility? Thanks Bill
maybe a solution:
check the market if ranging or trending
- if trending- set lot size to 0.1
- if ranging- set lot size to 0.01
how to check the market?
calculate the 1H, 4H, 1 day, 5 days, 10 days, 20 days average
- if the 1H+4H is higher as the 1/5/10/20 days average - market is trending
- if the 1H+4H is lower as the 1/5/10/20 days average - market is ranging
well, i think, 15,30 min are not suited for decisions if a market is trending or ranging
As a 4H trader i use 1day and up calculation
Okey, no problem anymore with Balance.
put int Balance;