Nathan.Küster

Master Trader
Apr 28, 2018
23
5
64
35
Brazil
This indicator is the most accurate I have ever seen. So far I've only seen it enter a wrong value once and it went to the HK50 symbol.

Broker: FTMO
Instrument: HK50
Real SL: -105.25
Risk Calculator Indicator: 994.68 (Error)



2020-12-23_005538.png
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,297
1,529
144
Odesa
www.earnforex.com
@Nathan.Küster Unfortunately, I cannot reproduce this on any other broker (I've tried like ten of them today). It could be some issue with the contract specification incorrectly provided at FTMO. They had a similar issue with some currency pair not so long ago (discussed in the Position Size Calculator thread). Of course, it might be some rare little bug in my indicator that doesn't manifest itself anywhere else, but I need more information (more cases where it goes wrong) to try fixing this.
 
  • 👍
Reactions: Nathan.Küster

Nathan.Küster

Master Trader
Apr 28, 2018
23
5
64
35
Brazil
@Nathan.Küster Unfortunately, I cannot reproduce this on any other broker (I've tried like ten of them today). It could be some issue with the contract specification incorrectly provided at FTMO. They had a similar issue with some currency pair not so long ago (discussed in the Position Size Calculator thread). Of course, it might be some rare little bug in my indicator that doesn't manifest itself anywhere else, but I need more information (more cases where it goes wrong) to try fixing this.


The margin currency is Hong Kong dollar (HKD). Does the USDHKD pair need to be on the market watch? I will test this in the future.

HK50 contract specification at the FTMO

2020-12-23_010205.png
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,297
1,529
144
Odesa
www.earnforex.com
The margin currency is Hong Kong dollar (HKD). Does the USDHKD pair need to be on the market watch? I will test this in the future.

HK50 contract specification at the FTMO

View attachment 17493
Yes, that might be the reason. They do have USDHKD in the list of symbols, but it cannot be added to the Market Watch for some reason.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,297
1,529
144
Odesa
www.earnforex.com
Hello!

I am trying to install and activate the Risk Calculator indicator on the MetaTrader 4 platform.
https://www.earnforex.com/metatrader-indicators/Risk-Calculator/

In the archive on the site there is only the .mql4 file, it is not the .ex4 file.

Where can I get this or how to generate this .ex4 file ???

I hope you can help me.
You need to copy both folders from the archive to the MQL4 folder of your MT4 platform. Then launch MetaEditor from your MT4 platform and open RiskCalculator.mq4 from /MQL4/Indicators. Then press the Compile button (F7). Alternatively, you can just restart MT4 after copying over all the files, it will compile everything automatically.
 

Adryleo

Trader
Dec 24, 2020
3
1
8
41
You need to copy both folders from the archive to the MQL4 folder of your MT4 platform. Then launch MetaEditor from your MT4 platform and open RiskCalculator.mq4 from /MQL4/Indicators. Then press the Compile button (F7). Alternatively, you can just restart MT4 after copying over all the files, it will compile everything automatically.
Yes, I know that MT4 should create files automatically, but this is not the case for me.
I tried to do the Compile button operation (F7), using MetaEditor, but it gives me an error.
Attached is a screenshot with the error.
 

Attachments

  • Screenshot_1.jpg
    Screenshot_1.jpg
    186.4 KB · Views: 3

Enivid

Administrator
Staff member
Nov 30, 2008
19,297
1,529
144
Odesa
www.earnforex.com
Yes, I know that MT4 should create files automatically, but this is not the case for me.
I tried to do the Compile button operation (F7), using MetaEditor, but it gives me an error.
Attached is a screenshot with the error.
Both folders from the archive, should be copied directly to the MQL4 folder, not to some subfolder inside it.
 

Adryleo

Trader
Dec 24, 2020
3
1
8
41
Yes, I know that MT4 should create files automatically, but this is not the case for me.
I tried to do the Compile button operation (F7), using MetaEditor, but it gives me an error.
Attached is a screenshot with the error.
Thanks a lot for the support.
I installed successfully.
I'll test it after the holidays.
Happy New Year!
 
  • 👍
Reactions: Enivid

Nathan.Küster

Master Trader
Apr 28, 2018
23
5
64
35
Brazil
Hello,

This time USDHKD is on the market watch, but the indicator continues to report the wrong stop loss value.

Correct SL value: 104.82 EUR
Risk Calculator Indicator: 994.16 EUR


0.jpg
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,297
1,529
144
Odesa
www.earnforex.com
But the indicator also does not correctly calculate the stop loss for AUS200, J225. And I have it on Market Watch EURAUD, EURJPY.
That's strange. It's showing correct results on AUS200 for me:
aus200.png
Profit in index units: 6701.60 - 6699.80 = 1.8
Price of unit: 11.18 / 1.8 = 6.21
Stop-loss: 6701.60 - 6651.60 = 50.0
Loss: 50.0 x 6.21 = 310.50 EUR
That's pretty close to the indicator's output value (the rounding error should be accounted for).
 
  • 👍
Reactions: Nathan.Küster
Apr 10, 2020
9
0
17
Persia
Hi.
As i have tried to compile the file it is giving me 105 errors and 2 warnings.

Please help me to sort it.
I have attached a photo of the last errors.
Please let me know if you need any more details and information if required.

Thanks in advance
 

Attachments

  • 16306244328736846250276186648300.jpg
    16306244328736846250276186648300.jpg
    101.6 KB · Views: 1

Enivid

Administrator
Staff member
Nov 30, 2008
19,297
1,529
144
Odesa
www.earnforex.com
Hi.
As i have tried to compile the file it is giving me 105 errors and 2 warnings.

Please help me to sort it.
I have attached a photo of the last errors.
Please let me know if you need any more details and information if required.

Thanks in advance
Make sure you copy over both folders from the archive (Include and Indicators) to the /MQL4/ folder.
 

Csaba911

Newbie
Sep 22, 2021
5
0
2
56
With MetaTrader 4 build 1345 I have issues with a correct display of the totals. They are somehow being displayed over the 5th line making it difficult to make out.
 

TONYDURNS

Newbie
Sep 23, 2021
1
0
1
27
Hello, I have received errors on both the position size calculator and the risk calculator inside the metaeditor. Each have about 100 errors.. how can this be fixed? Thank you
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,297
1,529
144
Odesa
www.earnforex.com
With MetaTrader 4 build 1345 I have issues with a correct display of the totals. They are somehow being displayed over the 5th line making it difficult to make out.
I'm not sure how you even managed to get it work in 1345. That build is a beta with known bugs and the Risk Calculator shows completely blank for me there.
 
  • 👍
Reactions: Csaba911