Experts: Currency Strength EA - page 3

To add comments, please log in or register
Jermaine Wedderburn
1087
Jermaine Wedderburn  
manis12345:

Hi,

      My view  with this EA good for manual trading. If you could add below is perfect ideal EA for automated trading.


  The Entry point is diff Value 0.5, Take profit value should be diff value 0.7 and Stop loss would be diff value 0.3


Something interesting here Manis, so instead of setting the e.a. at 0.5 you set it at 0.7 to trade and the recommended calculation for stop loss would be calculated from diff value of 0.3? Hmm Something i would love to see and try... The E.A. has something good and can be developed more i believe...The dash can be improved with visual aids to show what trade was taken and why. 

weepnotchild
298
weepnotchild  

It shows 4 warnings after compilation. What does 0.5 and 0.7 indicate?

Thanks for the job.

estoilkov
5
estoilkov  
Eric WAI:

Should insert below line

if(op==0) return 0;

just before

double per=(cl-op)/op*100;

to adoid ZD error.

Hi,

Thank you for the correction.

Can you please explain how "op" which is just the Opening price could be equal to 0.

And also why once "return 0" is passed, "op" is no more considered = 0?

Thank you in advance.

Ahmed Tawfik
345
Ahmed Tawfik  
   double eur = (EURJPY+EURCAD+EURGBP+EURCHF+EURAUD+EURUSD+EURNZD)/7;
   double usd = (USDJPY+USDCAD-AUDUSD+USDCHF-GBPUSD-EURUSD-NZDUSD)/7;
   double jpy = (-1*(USDJPY+EURJPY+AUDJPY+CHFJPY+GBPJPY+CADJPY+NZDJPY))/7;
   double cad = (CADCHF+CADJPY-(GBPCAD+AUDCAD+EURCAD+USDCAD))/6;
   double aud = (AUDUSD+AUDNZD+AUDCAD+AUDCHF+AUDJPY-(EURAUD+GBPAUD))/7;
   double nzd = (NZDUSD+NZDJPY-(EURNZD+AUDNZD+GBPNZD))/5;
   double gbp = (GBPUSD-EURGBP+GBPCHF+GBPAUD+GBPCAD+GBPJPY+GBPNZD)/7;
   double chf = (CHFJPY-(USDCHF+EURCHF+AUDCHF+GBPCHF+CADCHF))/6;

Well , I have no Idea is the Formulas added above are a Standard formulas or it is created By you , and I can see that we can Modify the Formulas to Be as Follow , it is not tested but I believe it is mathematically more correct 

   double eur = (EURJPY+EURCAD+EURGBP+EURCHF+EURAUD+EURUSD+EURNZD)/7;
   double usd = (USDJPY+USDCAD+USDCHF+(1/(EURUSD+NZDUSD+AUDUSD+GBPUSD)))/7;
   double jpy = (1/(USDJPY+EURJPY+AUDJPY+CHFJPY+GBPJPY+CADJPY+NZDJPY))/7;
   double cad = (CADCHF+CADJPY+(1/(GBPCAD+AUDCAD+EURCAD+USDCAD)))/6;
   double aud = (AUDUSD+AUDNZD+AUDCAD+AUDCHF+AUDJPY+(1/(EURAUD+GBPAUD)))/7;
   double nzd = (NZDUSD+NZDJPY+(1/(EURNZD+AUDNZD+GBPNZD)))/5;
   double gbp = (GBPUSD+GBPCHF+GBPAUD+GBPCAD+GBPJPY+GBPNZD+(1/(EURGBP)))/7;
   double chf = (CHFJPY+(1/(USDCHF+EURCHF+AUDCHF+GBPCHF+CADCHF)))/6;

What do you think ??

mc4true
44
mc4true  
Ahmed Tawfik:

Well , I have no Idea is the Formulas added above are a Standard formulas or it is created By you , and I can see that we can Modify the Formulas to Be as Follow , it is not tested but I believe it is mathematically more correct 

What do you think ??


I think is great


do you have time to test it ??

Ahmed Tawfik
345
Ahmed Tawfik  

I guess this is the correct formula Not the Previous one 

double eur = (EURJPY+EURCAD+EURGBP+EURCHF+EURAUD+EURUSD+EURNZD)/7;
double usd = (USDJPY+USDCAD+USDCHF-(1/(EURUSD+NZDUSD+AUDUSD+GBPUSD)))/7;
double jpy = (-1/(USDJPY+EURJPY+AUDJPY+CHFJPY+GBPJPY+CADJPY+NZDJPY))/7;
double cad = (CADCHF+CADJPY-(1/(GBPCAD+AUDCAD+EURCAD+USDCAD)))/6;
double aud = (AUDUSD+AUDNZD+AUDCAD+AUDCHF+AUDJPY-(1/(EURAUD+GBPAUD)))/7;
double nzd = (NZDUSD+NZDJPY-(1/(EURNZD+AUDNZD+GBPNZD)))/5;
double gbp = (GBPUSD+GBPCHF+GBPAUD+GBPCAD+GBPJPY+GBPNZD-(1/(EURGBP)))/7;
double chf = (CHFJPY-(1/(USDCHF+EURCHF+AUDCHF+GBPCHF+CADCHF)))/6;
yawa5
1238
yawa5  

HI,

When I tried to compile, please find attached error, please can you rectify for me. As I put it on live Demo it is not initiating trade. I believe these error could be the reason.

Thanks for the good work

Files:
Stanislav Korotky
25183
Stanislav Korotky  
yawa5:

When I tried to compile, please find attached error, please can you rectify for me. As I put it on live Demo it is not initiating trade. I believe these error could be the reason.

Thanks for the good work

These are warnings, not errors.

I can't help with the non-trading problem, I'm nor familiar with this EA, but it can probably wait for an appropriate condition which can happen not so often. Try to lauch many instances with different settings.

sami jabre
13
sami jabre  

Hi , could you please explain if you don't mind  , why did you use prefix and postfix ? 

best regards ,

Jermaine Wedderburn
1087
Jermaine Wedderburn  
sami jabre:

Hi , could you please explain if you don't mind  , why did you use prefix and postfix ? 

best regards ,

Simple when a broker has Gbpusd.pro versus gbpusd.... etc etc
To add comments, please log in or register