HOW to get a programmer 100% interested in writing an EA based on your IDEA - page 11
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Or organise an adjustable take profit setting in this EA.
Here's the full code.
Or organise an adjustable take profit setting in this EA.
Here's the full code.
Or organise an adjustable take profit setting in this EA.
Here is the full code.
I can add a few remarks now
1. the return(0) operator belonging to the start function should at least be duplicated below one curly bracket. Since it will only be executed if the condition for volume of 1 is met.
the rest of the time the start function should close incorrectly.
the 2 conditions of the value from the called indicator <1000 is probably the idea to show that on the bar there is no one value from the buffers
i.e. a sort of crossing (change of indicator colour and its relative position relatively to the current price)
i'm afraid that in this case it will work only for those symbols with the current price value greater than 1000 (for example, PDR)
if the indicator draws only one colour on the current bar (the value of another buffer on this bar is 0)
Otherwise on almost any currency pair the current value of the indicator will always be less than 1000, and the conditions will trigger on every bar
3. I recommend to take the condition of a new bar as follows
I can add a few remarks now
1. the return(0) operator belonging to the start function should at least be duplicated below one curly bracket. Since it will only be executed if the condition for volume of 1 is met.
the rest of the time the start function should close incorrectly.
the 2 conditions of the value from the called indicator <1000 is probably the idea to show that on the bar there is no one value from the buffers
i.e. a sort of crossing (change of indicator colour and its relative position relatively to the current price)
i'm afraid that in this case it will work only for those symbols with the current price value greater than 1000 (for example, PDR)
if the indicator draws only one colour on the current bar (the value of another buffer on this bar is 0)
Otherwise on almost any currency pair the current value of the indicator will always be less than 1000, and the conditions will trigger on every bar
3. I recommend to take the condition of a new bar as follows
Oh, and here's another thing.
4. Calling the custom indicator 12 times is blasphemy at the very least :)
in your case, 6 times will be enough (I counted that many times)
The processing speed of your EA will grow not by twice, but by 1.5 times in my opinion. These actions only (code optimization), not to be confused with optimization of parameters
At least like this
Check
Can someone explain
There are two identical EAs with absolutely identical parameters
One buys at the same time another sells at the same time
Entry and exit moments are the same
How do they both vanish cleanly?
How can they both merge cleanly ?