Just ask the question, that gets you the answer you need.
Posts made by jstap
-
RE: TARGET PROFIT FOR THE DAY RECOVERYposted in Questions & Answers
-
RE: BUY STOP AND SELL STOP EAposted in Questions & Answers
That is a very wide reaching question, and the answer is not simple because, this is a different answer to everyone, the answer for you will be different to others.
-
RE: Subscribe to the siteposted in General Discussions
You can get lots of advice, the admin will see and respond it may take a little time. There is instruction pages that will show you lots
-
RE: Using Fibonacciposted in Tutorials by Users
It does work, you just have to wait for the low line to be drawn, set high/low to candle 0 close price on init.

-
RE: Using Fibonacciposted in Tutorials by Users
Add the latest shared link with all in the correct order. Just download and use mine.
-
RE: how to pause(sleep) a script?posted in Questions & Answers
I don't use scripts, I don't see the point in them unless you want to get some information. Generally switching blooks/trees on/off will achieve everything that's needed. Scripts work when selected, so just don't select. If EA needs a script, recreate it.
-
RE: Using Fibonacciposted in Tutorials by Users
Separate your trees, the reason I have them separate is so blocks work when others don't
-
RE: how to pause(sleep) a script?posted in Questions & Answers
Turn auto trading off via blocks, then back on. This will disable all EAs but is the only way I know to stop EA without the code
-
RE: Easylanguage codeposted in Questions & Answers
Low is an array so would be Low[0], I don't have time at the minute but when I do I'll look at this. In the meantime maybe someone else like @roar will know how to use.
-
RE: Easylanguage codeposted in Questions & Answers
You can just use this code in custom code, this is ChatGPT's definition:
The code Highest(Low - Low[1], ExitLngLen) is a function call in MQL4, commonly used in Expert Advisor (EA) coding. Let's break it down:Highest: This is a built-in function in MQL4 used to find the highest value of a given expression over a specified number of bars.
Low - Low[1]: This expression calculates the difference between the current low price (Low) and the low price of the previous bar (Low[1]), essentially computing the price change from the previous bar to the current bar.
ExitLngLen: This is a variable representing the number of bars over which to calculate the highest value of the expression Low - Low[1]. It determines the lookback period for finding the highest value.
So, in summary, the code Highest(Low - Low[1], ExitLngLen) finds the highest price change (in terms of the difference between consecutive low prices) over the specified number of bars (ExitLngLen). This might be used in an EA to determine certain trading conditions or thresholds based on recent price action.
-
RE: Close partially, least profitable tradeposted in Questions & Answers
Yes but you will have to put a shared link so where you are at can be looked at.
-
RE: Close partially, least profitable tradeposted in Questions & Answers
I do not add to trades, I place a new one, so every trade is a parent trade.
-
RE: Close partially, least profitable tradeposted in Questions & Answers
Add a shared link to look at what you are doing.
-
RE: Close partially, least profitable tradeposted in Questions & Answers
Yes but as of the start, you can't partially close a position without opening a new one, which is why I said you will have to open many, so you can then close some.
-
RE: HOW TO SOLVE THIS PARABOLIC SAR BOT ISSUESposted in Questions & Answers
In more settings there weren't any, do as in my picture and you should be fine.
-
RE: HOW TO SOLVE THIS PARABOLIC SAR BOT ISSUESposted in Questions & Answers
You need to add the ID in more settings:

-
RE: HOW TO SOLVE THIS PARABOLIC SAR BOT ISSUESposted in Questions & Answers
Just follow my logic, create a shared project, and add it here if you are having problems, use 2 condition blocks to achieve.
-
RE: askposted in Questions & Answers
Bear in mind ZigZag is constantly repainting on the current leg. To get the retracement % you need the high/low values, then you can get the %value, then decide what classes this value is being hit (current price/close). This line will show you how to get the % level. PERCENT1=LOW+0.2*(HIGH-LOW); OR PERCENT2=LOW+0.8*(HIGH-LOW); 0.2 and 0.8 represent the 20%, but as you are always subtracting a low number from a big number, there are times when things need to be reversed.
-
RE: HOW TO SOLVE THIS PARABOLIC SAR BOT ISSUESposted in Questions & Answers
Do this, candle1 PSAR<candle, candle0 PSAR>candle, use once per bar to prevent it from happening more than once per candle, and do the opposite for buys.