Clarify me on this part of my EA. Suggestions appreciated.

 

CurMinusPrev=iHigh(NULL,PERIOD_M1,1)-iHigh(NULL,PERIOD_M1,30)

//open buy if 

CurMinusPrevV=iHigh(NULL,PERIOD_H4,1)-iHigh(NULL,PERIOD_H4,20)

if  CurMinusPrev >0.008              //open buy now

//how best can this(H4 and M1) be put and work together are there better ways?

 
Test your Expert and Find out.
 
ubzen:
Test your Expert and Find out.
Test i already did but there may be better ways to address the question above, you got any other suggestions.
 
tafadzwa:
Test i already did but there may be better ways to address the question above, you got any other suggestions.
There's not a better way to address the question above. Do you have any question about coding, rather than "how can I make Period_M1 vs Period_H4 profitable"? 
 
ubzen:
There's not a better way to address the question above. Do you have any question about coding, rather than "how can I make Period_M1 vs Period_H4 profitable"? 

Its not a question of "how i can make Period_M1 vs Period_H4 profitable."(My new EA is really profitable)  but its a question of "is there another smoother way, a way wich is faster" .my EA is not opening as many trades as i want. I want more trades.  

Reason: