Another tweak needed on MT4 PS, If I set commission and used commission to set TP distance, the TP lines always moves to the correct % distance after the market price (bid/ask) receive update..
Could you please elaborate?Another tweak needed on MT4 PS, If I set commission and used commission to set TP distance, the TP lines always moves to the correct % distance after the market price (bid/ask) receive update..
While loading the EA, on settings If I set DefaultCommission = 4 , DefaultTPLockedOnSL = true, TP_Multiplier = 2... If I press the key's to set the SL line, or press the key to set the entry line.... the TP always fits correctly (lock with commission) after the market price updates instead of instant upate... most of the times it sets the TP wrong if the market moves slowly...Could you please elaborate?
Sorry, still cannot reproduce it. Do you use level SL/TP or distance (points) SL/TP? Is it a pending order or an instant one?While loading the EA, on settings If I set DefaultCommission = 4 , DefaultTPLockedOnSL = true, TP_Multiplier = 2... If I press the key's to set the SL line, or press the key to set the entry line.... the TP always fits correctly (lock with commission) after the market price updates instead of instant upate... most of the times it sets the TP wrong if the market moves slowly...
Hint: moving lines by mouse click and dragging and relase seems working instantly..
Sorry for that I could not explain you exactly what I would like to convey.. Kindly use the set file,, and when you use the shortcut key for the SL lines move.. the TP distance adjustment happens (in my case I've locked the TP for 1:2) only after the price gets updated in the market watch.. but when I move the lines with mouse drag and release the TP distance adjustment for the 1:2 happens instantly even the price didn't move in the market watch.. So,, the SL,Entry lines drag works instantly while I use the shortcut keys works only after the price updated in market watch.Sorry, still cannot reproduce it. Do you use level SL/TP or distance (points) SL/TP? Is it a pending order or an instant one?
I see. That's basically the same issue as you describe in your post here. It's the lack of chart redrawing after the shortcut keys. This will be fixed in the next version. Meanwhile, you shouldn't worry about it much because the actual values get updated instantly, it is just that the chart drawings don't reflect it until the next tick or timer redraw.Sorry for that I could not explain you exactly what I would like to convey.. Kindly use the set file,, and when you use the shortcut key for the SL lines move.. the TP distance adjustment happens (in my case I've locked the TP for 1:2) only after the price gets updated in the market watch.. but when I move the lines with mouse drag and release the TP distance adjustment for the 1:2 happens instantly even the price didn't move in the market watch.. So,, the SL,Entry lines drag works instantly while I use the shortcut keys works only after the price updated in market watch.
That issue your quoted post is on MT5..I see. That's basically the same issue as you describe in your post here. It's the lack of chart redrawing after the shortcut keys. This will be fixed in the next version. Meanwhile, you shouldn't worry about it much because the actual values get updated instantly, it is just that the chart drawings don't reflect it until the next tick or timer redraw.
Now I see... The issue seems to be different here. However, perhaps the MT5 issue isn't so simple either - it could be a combination of ChartRedraw missing and the actual TP not repositioned until the next recalculation. I will have to look deeper into this.That issue your quoted post is on MT5..
Unfortunately, the compatibility of MT5 with macOS is very poor. What I'd try is re-compiling the Position Sizer under different optimization modes (a small arrow near the Compile button in MetaEditor). Perhaps, that will help with your issue.Hey, I need some help. I’m using Position Sizer. At first, I had an issue where MT5 would crash after a while because of it — the screen would freeze and my computer would reboot. Other than that, Position Sizer itself seemed to work normally.
After uninstalling both MT5 and Position Sizer and then reinstalling them, I now have a different problem: my computer no longer crashes or freezes, but whenever I click “Trade” to open a trade, MT5 crashes immediately.
What could be causing this? Has anyone had similar problems?
I have a MACBOOK AIR M1, macOS tahoe 26.4.1.
Hey, I don't know what I did but when I clicked compile a few times it started working normally. At first it wouldn't work, it crashed again, but now it works. I'll see how it goes. Thanks, I know that mt5 is very bad for macbook...Unfortunately, the compatibility of MT5 with macOS is very poor. What I'd try is re-compiling the Position Sizer under different optimization modes (a small arrow near the Compile button in MetaEditor). Perhaps, that will help with your issue.
That's probably because it's hitting either min or max volume set by your broker. If you attach a screenshot of the Main tab when this happens, I'll be able to tell you precisely.Hi, I am having an issue where the EA does not calculate my position size correctly. When I change the % risk required, the "Result" field does not change. This is only on one pair (XAGUSD). It did this before on another pair but rectified itself. I have tried closing everything and restarting my computer but that hasn't worked. Does anyone know how I can resolve this?
As you can see the calculated position size is already at 0.01 - that's the minimum supported by your broker. With your current stop-loss distance it results in a much higher risk than you intend. Unfortunately, there is no good away around this other than finding a broker that offers smaller contracts in XAG/USD.View attachment 37637You can see the "result" doesn't match the input. View attachment 37638 When I change the input, the result doesn't change
Ok, thank you - appreciate you having a look at this for me.As you can see the calculated position size is already at 0.01 - that's the minimum supported by your broker. With your current stop-loss distance it results in a much higher risk than you intend. Unfortunately, there is no good away around this other than finding a broker that offers smaller contracts in XAG/USD.
Main changes in the version 3.00 compared to the version 2.42 of the Position Size Calculator:
- The indicator converted to the EA.
- Added a color warning for incorrect volume shares when multiple take-profits are used.
- Changed the default Magic number input parameter to a non-zero value.
- Changed the default Ask for confirmation checkbox state to ticked.
- Fixed a bug that prevented PSC from removing the TP when ATR TP multiplier was set to 0.
- Fixed a bug when if only stop-loss is set to points display (SLDistanceInPoints = true while TPDistanceInPoints = false), dragging the SL line stopped working.
- Added checkboxes to apply spread adjustment to SL and TP in ATR multiplier mode. (@Crash101)
- Fixed an issue with additional TP/SL line labels when account size is zero. (@saleh222)
- Fixed multiple potential zero divide errors. (@gut)
- Added an input field to the Trading tab to limit the maximum number of trades to prevent opening too many trades. (@Armin)
- Fixed a bug with Entry/SL/TP lines deselecting on the platform's restart.
- Added the SymbolChangeReset input parameter to make the panel reset its fields to the defaults from the input parameters if the current chart's symbol is switched to another symbol and then back. (@EnrichWave)
- Fixed (almost) a potential narrow price scale when adding the Position Sizer to a wide-quote symbol. (Via two Github issues: 1, 2.)
- Fixed a potential problem with calculations when switching the chart's symbol.
Can you at least change the point value from 0.01 limit to at least 0.00001 or include another option to show PIP VALUE other than POINT VALUE.......or just both coz sometimes when you want like 0.005 dollars per pip which is (0.005 ÷ 10) point value which can't be made....it's just an example but I hope you understand.....including the *PIP VALUE* would be of real help alot.....I think most would really appreciateMain changes in the version 3.00 compared to the version 2.42 of the Position Size Calculator:
- The indicator converted to the EA.
- Added a color warning for incorrect volume shares when multiple take-profits are used.
- Changed the default Magic number input parameter to a non-zero value.
- Changed the default Ask for confirmation checkbox state to ticked.
- Fixed a bug that prevented PSC from removing the TP when ATR TP multiplier was set to 0.
- Fixed a bug when if only stop-loss is set to points display (SLDistanceInPoints = true while TPDistanceInPoints = false), dragging the SL line stopped working.
- Added checkboxes to apply spread adjustment to SL and TP in ATR multiplier mode. (@Crash101)
- Fixed an issue with additional TP/SL line labels when account size is zero. (@saleh222)
- Fixed multiple potential zero divide errors. (@gut)
- Added an input field to the Trading tab to limit the maximum number of trades to prevent opening too many trades. (@Armin)
- Fixed a bug with Entry/SL/TP lines deselecting on the platform's restart.
- Added the SymbolChangeReset input parameter to make the panel reset its fields to the defaults from the input parameters if the current chart's symbol is switched to another symbol and then back. (@EnrichWave)
- Fixed (almost) a potential narrow price scale when adding the Position Sizer to a wide-quote symbol. (Via two Github issues: 1, 2.)
- Fixed a potential problem with calculations when switching the chart's symbol.
Yes, it will use the commission value as an additional potential loss.Let say my broker charge 1 lot for 4usd, on ea main tab that commission (one way) per lot... Does this mean if I input 4usd it will calculate risk+commission together?
We use essential cookies to make this site work, and optional cookies to enhance your experience.