Ea new update please help

 

Hello


I wrote simple Moving Average Strategy ea but There are some missing ones.


Bar closing process when it closes . Because Cross Ma and result in unnecessary processing.

H1 Bar Closing and h1 new positions . (No repaint)


In addition some may be missing. Stop filter tp st etc... Do not put it. H1 eur usd cross moving average strategy and closed candle new positions .

Thank you .


File to edit :

Files:
new1.mq4  8 kb
 

Can someone help me please?

Thanks.


I'm Waiting

 
????
 
dbn01: Can someone help me please?
  1. Your original post was unintelligible. "There are some missing ones,"  missing whats?  "unnecessary processing," processing of what? Why is it unnecessary? "some may be missing," what may be missing? "Do not put it," do not put it where and why?
  2. You haven't asked a question.
  3. If you are using mechanical translation, you must use simple language structure.
  4. int OnInit(){
       sma = iMA(Symbol(), 0, smaPeriod, 0, MODE_SMA,PRICE_CLOSE, 0);
       lwma = iMA(Symbol(), 0, lwmaPeriod, 0, MODE_LWMA,PRICE_CLOSE, 0);
    
    These variables never change. Assign them in OnTick, which you do not have, which means nothing ever can happen.
Reason: