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
Question 1. Do I have use MyPips in candle, in these function? bool BULL4()
Yes. However, is the if statement correct in the BULL4() function? I mean, are you looking for that candle you are calculating?
AND I WROTE PROGRAM for me is good :) how about You?
It is yours, so it has to be good for you, not form me.
Some comments:
I correct last errors
I add second buy
condition to open :
Open and CheckForClose and Close the same code like for BULL41 (pips difrent only)
Start function look like that:
And now I need flag, resetsignals and change start function
My imagination say:
New Bar:
and start is look like that
Code is working but maybe I have some errors
I miss ResetSignals() so it not work good
I correct last errors
...
...
...
Code is working but maybe I have some errors
I did not say, the else is wrong in the CheckForCloseBULL41() function, because it was not nice formated. You didn't change anything. If more than one of the open orders matching to the below, you'll have problems as the loop does not run through all orders.
You don't need the signal flags as long as you only open new orders on a specific numbers of already open orders. This also prevents the code from opening more orders.
Your Fun_New_Bar() function is not correct.
1. else problem
if this is not correct I will searching again.
2. New Bar problem
3. reset signal problem
if I wrote bad points 2 and 3, I'll have no ideas to fix them, I'll ask for biggest directions If I could.
1. else problem
Fixed
2. New Bar problem
Fixed
3. reset signal problem
The above corrections are for the flags. But the open question is, do you need it? If you only open a new order, if a specific numbers of orders is already open, you probably don't need it. This is what I meant with the yellow marked expression:But no worries, it works also with the flags and you can eliminate them later, when it turns out they are obsolete.
I think that the flag is not required, but can be useful someday.
How to have two EA in one EA?
I made copies of the EA BULL4 and changed the BULL6 idex and the spacing pips.
Copy EA Bull4 + EA Bull6 too new EA (everything after the digit ()) Do changes within the function start () and magicma2...
My EA works very well, the scenarios do not interfere with each other. I'm happy.
I wanted to thank you for your help, without your help and especially your support Kronin I would not write it.
Subject is end in my opinion.
Regards
My EA works very well, the scenarios do not interfere with each other. I'm happy.
I wanted to thank you for your help, without your help and especially your support Kronin I would not write it.
You're welcome. Thanks for the nice feedback.