You can get the correct code from chatGPT, as @l-andorrà says though it's not very good. Good luck with dismantling what is given to make better.
Posts made by jstap
-
RE: Fixed mql5 code performance bug in custom mql5 code blockposted in Questions & Answers
-
RE: When price touches lower bollinger bandposted in Questions & Answers
You need to run backwards, if candle 1 X< lower line buy. opposite for sells
-
RE: Trade Entry pointposted in Questions & Answers
Yes but how you class a HH/LL is what matters, decide how you are classing that, I can then help how to use.
-
RE: Trade Entry pointposted in Questions & Answers
I don't really have one, depicting HH/LL is very subjective, find a indicator to use.
-
RE: Trade Entry pointposted in Questions & Answers
For a start you have to decide what you class as HH/LL.
-
RE: News Indicatorposted in Questions & Answers
If you add the indicator, I will have a look, without it though is impossible to see what it's doing. sounds very interesting though.
-
RE: Let's BrainStorm on this guysposted in General Discussions
Not really because it has a lot of variables. What I would start with is putting todays date into a variable, then saving into another variable but with a changed year, once this works, use this date to check a condition, one you can visually check.
-
RE: Let's BrainStorm on this guysposted in General Discussions
It is possible is you have, likely a lot easier finding an indicator doing this. You would have to get EA looking for for a specific past date, every year the day is different, so if Friday this year might be Saturday 10 yrs back. this is hard to back test because of history data.
-
RE: Enter Previous Candle Close in a Variableposted in Questions & Answers
Candle 0 is current, candle1 is previous and closed, close on 0 is the current price.
-
RE: URGENT Fxdreema too slow.posted in Bug Reports
I have used FX for years, I use daily, rarely gives me any problems. Often personal browser, internet etc are what causes problems.
-
RE: Enter Previous Candle Close in a Variableposted in Questions & Answers
@Xfire I assume you pointed that reply at the wrong person

-
RE: Expert advisor to create...posted in Questions & Answers
inrthat block 4 doesn't = 4, s0 test with other numbers like 3, you can then back test and check.
-
RE: Enter Previous Candle Close in a Variableposted in Questions & Answers
Is not taking trades likely becaus you have once per bar above conditions, either way I would test each part separately so I know what's causing problems.
-
RE: Expert advisor to create...posted in Questions & Answers
Test in a row separately, you'll likely find a number that actually does as expected.
-
RE: Fibonacci Levels Variablesposted in Questions & Answers
You do mot put in that box, you can find lots on info on YouTube, you might need to create the levels with maths, and save into a variable.
-
RE: Waiting period/time after conditions are metposted in Questions & Answers
I tested on back test, it's doing what was requested, slow down, add indicators, watch on back test and, you'll see what it's doing. If you want it doing something else you'll have to adjust.
-
RE: how to choose colorposted in Questions & Answers
On chart only works on live/demo, use on tick so you can back test' is probably what you require anyway.
-
RE: how to choose colorposted in Questions & Answers
Then you can use indicator appears with buffer to do what you need.