Aswani19

Trader
Jan 17, 2022
2
0
7
23
@TheGMan That's because Recommended position size is just that. The actual position size was set to 1. If you click on the recommended position size, it will move to the actual position size and then the trade will open with that position size.
Can the recommended position size automatically replace the actual position size so that there wouldn't be any need to replace manually by clicking
 

yoovie

Newbie
Feb 9, 2022
3
1
4
Hi, I want to report some bugs/issues with the One-Click Trade Pro latest version (v1.05) on MT4:

1. If I input "0.6" in lots size textfield, it will show "0.6000000000000001" (see the image below)

earnforex1.png

2. If both Symbol Changer Profit Display v5.1 indicator and One-Click Trade Pro are on the chart, and then if I try to switch to another currency chart with the Symbol Change indicator, there will be a big lag on the MT4 for a moment, then the One-Click Trade Pro will become hidden from the chart.

3. If I load the One-Click Trade Pro with "Default Lot Size" set to "0.01" and "Default increment/decrement size" set to "0.01" on the indices chart (e.g. US500), annoying pop-up message "Lot Size must be between 0.1 and 12500" and "Lot Step must be between 0.1 and 12500" will show. This also happens when switching the timeframe.

I guess this is because the minimum lots size on US500 is 0.1 so the pop-up message shows up. This can be annoying for someone who trades both currencies and indices. I suggest to remove the pop-up message and instead adjust the Lot Size and Lot Step textfield value automatically to the minimum supported value on the chart whenever One-Click Trade Pro is loaded with the invalid Lot Size/Step settings. So if the "Default Lot Size" setting is set to "0.01", then the Lot Size textfield should be automatically set to "0.1" when One-Click Trade Pro is loaded on chart like US500.
 
  • Like
Reactions: Enivid

yoovie

Newbie
Feb 9, 2022
3
1
4
@Enivid Not sure if you still watch this thread, but for issue #2, I found a workaround. In the OnDeinit function, add this code: "if (reason == REASON_CHARTCHANGE) return;", so it becomes like this:

void OnDeinit(const int reason) { if (reason == REASON_CHARTCHANGE) return; CleanChart(); }

I don't know what exactly happened, but from my finding, the lag issue is coming from the "CleanChart()" function call. So by adding that code, the EA won't call the function when the chart is changed by the symbol changer indicator.