Posts made by jstap
-
RE: calculations on variable and constantsposted in Questions & Answers
Not sure what you mean, a constant is fixed and changed in inputs, and a variable can be changed, including using a constant in many different ways. To see exactly add a shared link and say what you are trying to achieve.
-
RE: Same input setup but shown different value on screen for different pairposted in Bug Reports
Without seeing what you have done, a shared link to see the code. It likely has something to do with the decimal place for a pip.
-
RE: money managmentposted in Questions & Answers
This is effectively martingale, there are options for this in standard blocks. if that doesn't do what you want, add a shared link and say what you are trying to do.
-
RE: Risk % of equity error and incorrect stop movementposted in Questions & Answers
Your project contains 9, so if what is causing the issue is 150 blocks you will need to switch off and link out until you find the blocks causing the problem.
-
RE: Bucket Of Closed Positions Problemposted in Questions & Answers
I haven't tested but this should do it: https://fxdreema.com/shared/WOrmkSz6e
-
RE: Can any body help creating EAposted in Questions & Answers
Make the changes I suggested, what exactly is not working?
-
RE: EA如何实现判断最近的已持有订单盈利某个值时,才允许新的开仓交易posted in Questions & Answers
Set up a project trying to do this, if not working add a shared link and say what you are trying to do.
-
RE: Prompt blockposted in Questions & Answers
Even FX can't stop or automatically delete this, you will have to find another way.
-
RE: Prompt blockposted in Questions & Answers
I have never used this, it is a message box and this is what chat GPT says:
The MessageBox function in MQL4 is a blocking call, meaning the execution of your script or Expert Advisor will halt at the MessageBox call until the user interacts with it. This behaviour is built into the function and cannot be altered from within MQL4 directly.
That said, there are a few alternative approaches you could consider:
Avoid using MessageBox: Instead of using MessageBox, consider using other means to display messages that don't require user interaction to dismiss, such as Print for logging messages in the Experts tab, or graphical objects (like TextLabel) on the chart to display messages.
Create a custom dialog: Instead of MessageBox, you can create a custom dialog box using MQL4 graphical objects. You can then manage the dialog box programmatically, allowing it to be closed or hidden without user interaction.
-
RE: Risk % of equity error and incorrect stop movementposted in Questions & Answers
This should only modify once, try starting it all from scratch in case there has been a glitch while creating.
As for equity % I do not know but % has always worked for me -
RE: Prompt blockposted in Questions & Answers
Cancel is in the buy/sell block, do you need something else?
-
RE: hedge without conditionposted in Questions & Answers
So that is your child's trade what is happening when you only look for parent?
-
RE: How to get the price of pending order?posted in Questions & Answers
Pink block for each pending order - get the value in a loop
-
RE: what happens after the subscription period expires?posted in Questions & Answers
Only less without a subscription
-
RE: what happens after the subscription period expires?posted in Questions & Answers
You cannot compile or export anything over 10 connections, but you can still create
-
RE: How do you make the trailstop block true only when it has passed the trail startposted in Questions & Answers
This block passes constantly, it just only affects trades if settings allow. above the block put a condition, for each trade - candle 0 close is < or > open price (in loop), adjusted by x pips
