ATR=0.0082 if I assume this EURUSD each pip represents $10.
So the correct formula is
UNIT=((0.01*50000/(N/Point*10)) for EURUSD Point=0.0001;
Therfore you have $500/820=0.6 of lot
to code in MQ4
Unit=(AccountBalance()/100/iATR(...)/Point*MarketInfo(symbol,MODE_TICKVALUE))
So the correct formula is
UNIT=((0.01*50000/(N/Point*10)) for EURUSD Point=0.0001;
Therfore you have $500/820=0.6 of lot
to code in MQ4
Unit=(AccountBalance()/100/iATR(...)/Point*MarketInfo(symbol,MODE_TICKVALUE))
I GET get, so i can open 0.6 LOTS in metatrader?
NO, right? This would mean i would open 1 LOT? Just round off.
Thanks
NO, right? This would mean i would open 1 LOT? Just round off.
Thanks
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
The Turtles used a position sizing algorithm that was very advanced for its day, because it normalized the dollar volatility of a position by adjusting the position size based on the dollar volatility of the market. This meant that a given position would tend to move up or down in a given day about the same amount in dollar terms (when compared to positions in other markets), irrespective of the underlying volatility of the particular market.
This is true because positions in markets that moved up and down a large amount per contract would have an offsetting smaller number of contracts than positions in markets that had lower volatility.
This volatility normalization is very important because it means that different trades in different markets tend to have the same chance for a particular dollar loss or a particular dollar gain. This increased the effectiveness of the diversification of trading across many markets.
Even if the volatility of a given market was lower, any significant trend would result in a sizeable win because the Turtles would have held more contracts of that lower volatility commodity.
Dollar Volatility Adjustment
The first step in determining the position size was to determine the dollar volatility represented by the underlying market's price volatility (defined by its N).
This sounds more complicated than it is. It is determined using the simple formula: