Comments (14)
Thanks! I will look what can be done.
from positionsizer.
The thing is, the tick_value reported to MQL4 is wrong :-). That's the problem.
from positionsizer.
i explained this Tick size issue with coinexx and turnkey and they corrected their configuration 👍, PSC works normal on their platform now.
from positionsizer.
Wow! That's great!
from positionsizer.
Hi!
Is it in MT4 or MT5? What type of account do you have with them? What is your account currency?
from positionsizer.
Hi!
Is it in MT4 or MT5? What type of account do you have with them? What is your account currency?
it is Demo MT4 and account type "Raw spread" , account currency is USD.
from positionsizer.
OK. In theory, I could circumvent this by detecting that quote currency != account currency but the reported tick value = 1 account currency unit. Then, the PSC could find the actual conversion pair (USD/JPY in your case) and then calculate the correct tick value.
However, this wouldn't work in M4Markets, because their misconfigured server reports Base Currency as AUD for nearly all currency pairs, even for those that have nothing to do with AUD (e.g., for EUR/CHF). So, searching for a conversion currency pair will fail based on Base/Profit Currencies.
It could be further circumvented by analyzing the symbol name, but I don't really like this way - it is slower and not foolproof due to prefixes/suffixes.
from positionsizer.
oh ok , thanks for investigating this issue , appreciate it.
yeah making PSC slower and inefficient in calculation for just one broker doesn't worth it for sure.
from positionsizer.
i have just noticed there is same issue in two other broker Turnkeyforex and coinexx , but not in all JPY pairs and only EURJPY!
and the mt5 version works correctly.
and its not only PSC , most other tools/EAs from other developers also have same issue here.
from positionsizer.
On those two other brokers, is there any output in the Experts tab of the Terminal subwindow? Like about the PSC failing to retrieve a reference pair?
from positionsizer.
On those two other brokers, is there any output in the Experts tab of the Terminal subwindow? Like about the PSC failing to retrieve a reference pair?
when i reload PSC:
2022.03.02 13:21:27.594 PositionSizeCalculator EURJPY,M5: initialized
2022.03.02 13:21:27.577 PositionSizeCalculator EURJPY,M5: Loaded settings successfully.
2022.03.02 13:21:27.576 PositionSizeCalculator EURJPY,M5: Trying to load settings from file.
2022.03.02 13:21:27.534 PositionSizeCalculator EURJPY,M5: Saved settings successfully.
2022.03.02 13:21:27.532 PositionSizeCalculator EURJPY,M5: Trying to save settings to file: PSC_EURJPY132838627281956975.txt.
2022.03.02 13:21:27.531 PositionSizeCalculator EURJPY,M5: uninit reason 5
but for other pairs is shows same log , so no , nothing.
from positionsizer.
on Turnkey when i check EURJPY(has problem) specification it has a tick value/size field. but on same broker USDJPY doesnt have this field and PSC calculates UJ correctly.
https://i.imgur.com/n7HbWzN.png
https://i.imgur.com/6dN1yqn.png
M4markets
https://i.imgur.com/WzZIrJM.png
https://i.imgur.com/9fRezyD.png
from positionsizer.
Runwise EA also had this problem, here is their respond:
We’ve had a look at it. The broker isn’t setting the Tick Value correctly. You can see the tick value in CONFIG | Risk / Lots. It’s more wrong on JPY but wrong on other non-USD pairs. When this value is incorrect then can’t work lots from risk pips.
Note, Tick Value is returned by MetaTradre’s MarketInfo() function and it’s the broker’s responsibility to return the correct values: https://book.mql4.com/appendix/marketinfo
You’ll have to either use a different broker or set lots directly in CONFIG | Risk / Lots
from positionsizer.
here is M4markets respond after i told them it is probably tick value that causes the issue:
"Please consider that we cant be responsible for the correct functionality of any EA as we are not the developers or sellers and we have no relation with coding of any expert advisor. Each EA user is responsible for that.
However as a gesture of goodwill we have checked internally and we confirmed that our configurations on our FX symbols are correct.
No matter what tickmill or anyone is doing on that please consider that if any instrument is on Forex calculation then tick value and tick sizes are automatically being ignored from settings.
Oppositely by having your configurations available for your clients when the open the specifications of any instrument it can be considered as an advantage, because tick size on USDJPY is indeed 0.001 and tick value is indeed 100 JPY."
im wondering , can PSC take the tick value into calculation to solve this problem?
from positionsizer.
Related Issues (20)
- Error in margin calculation for XAUUSD HOT 39
- Risk pending order not being calculated HOT 7
- Improvement Suggestion HOT 2
- I have to enable "algorithm trading" EVERY DAY HOT 5
- TP distance in points instead of a level not working properly HOT 2
- Risk of 1.5% displayed as 40%????????? HOT 1
- Add fix SL and TP (using ATR) distance using previous candle options HOT 8
- Wrong calculation of commission HOT 2
- Adding Stop-buy and Stop-sell entries HOT 1
- Problem selecting colours of the lines on MT5 for MACOS HOT 1
- Automatic breakeven pip calculator based on risk
- SL not being applied in MT5 HOT 2
- SL/Entry too close error (MT5) HOT 3
- PS EA failed to load on latest MT5 Build HOT 2
- Hotkey modifier for increase/decrease arrows HOT 2
- suggestion: option to hide entry line for market execution HOT 1
- Possible bug when opening 2 same size positions in GER30 ( DAX ) HOT 4
- "invalid stops" and "no prices" errors HOT 4
- More Shortcuts HOT 2
- Hide Lines HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from positionsizer.