Lot size calculation issue for single digit after decimal
-
i am testing something on NASDAQ and when i try and have the ea open the trade based on "freeze % of Equity" and set the value to "2" the lots size seems to be wrong
my testing account have the balance of 103000 and the lot it used was 0.92 when the sl value is 100 pips
which i think is wrong considering its less then 1 percent risk
i think the issue is with the digit after the decimal cuz most brokers have 2 digits after the decimal but my broker has 1 digit after the decimal.so how can i avoid this issue ?
-
@zackry have you set the pip size rules for NASDAQ in the project option?
-
@ambrogio nope i didnt know that
-
@ambrogio
what will be the rule for single digit ? -
@zackry please, make a screenshot of the market watch and show NASDAQ with all 3 values ask, bid, spread

-
@ambrogio

T100.lmax is the nasdaq -
@zackry Since the market watch shows you the spread in points ( 1/10 of pip), we have 11272.4 - 11271.2 = 1.2 (12 points = 1.2 pips) so the pip unit on the nasdaq is the last before the comma
This way we can write the pip size for that instrument

-
@Zackry try and check if the issue still shows
-
@ambrogio nope the lot size is still the same , only thing that changed was the sl , now it placed the sl at 1000 pips instead of 100 pips
-
@zackry then I don't know, we should know the algorithm of the freeze% of equity
-
@ambrogio how would you set the lot size at 2 percent risk ? other then the freeze percent
-
@zackry let me try
-
@ambrogio sorry to keep bothering you , but tell me if this is correct :
the way i know if the lotsize is correct or not is this , when the ea places the sl then i move the cursor on the sl and it shows how much money would i loose if the sl is hit , let say it tells me that i would loose 2000$ then i do this on calculator [(the amount i would loose/ total equity)*100] and it shows the percentage , if the percentage is at 2% then its correct otherwise its wrong
is this way of checking the lotsize correct ?
-
-
This case :


Thisis simple: 50% of 9999 is 5000 = 0.05 Lot
-
@ambrogio

based on 2 % risk 0.89 is still wrong i think -
@zackry We don't know what freeze% of equity means
See my other example above -
@ambrogio dang it ................i am such a goof
you are absolutely right , i missed your point earlier , we have no idea what the freeze % means , it could be calculating the lot correctly
i just noticed that i can achieve what i want by using "risk % of equity based on the sl " -
@zackry good!

-
@Zackry found it:

