Nathan.Küster

Active Trader
Apr 28, 2018
22
3
44
31
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
15,235
697
144
Odessa
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.
 
  • Like
Reactions: Nathan.Küster

Nathan.Küster

Active Trader
Apr 28, 2018
22
3
44
31
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
15,235
697
144
Odessa
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
15,235
697
144
Odessa
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
37
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: 2

Enivid

Administrator
Staff member
Nov 30, 2008
15,235
697
144
Odessa
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
37
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!
 
  • Like
Reactions: Enivid

Nathan.Küster

Active Trader
Apr 28, 2018
22
3
44
31
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
15,235
697
144
Odessa
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).
 
  • Like
Reactions: Nathan.Küster