• Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)

Suggestion Need Help with EA, only took sell trades

mahmudayaz1

New Member
Credits
0
Hello everyone.

can somebody make this ea corrected as this ea is only taking sell trades, while the logic for buy trade is there.

please help me out from this. and if possible add dca option as well

Thank you
 

Attachments

it is necessary to know the initial strategy. This Expert Advisor compares the values of the moving average and stochastic indicators. This is wrong! The stochastic value will always be greater than the MA value. Therefore, the adviser always opens deals for sale... It can be assumed that the MA value is compared with the current price on the chart... (In the original strategy.)
 
Last edited:
it is necessary to know the initial strategy. This Expert Advisor compares the values of the moving average and stochastic indicators. This is wrong! The stochastic value will always be greater than the MA value. Therefore, the adviser always opens deals for sale... It can be assumed that the MA value is compared with the current price on the chart... (In the original strategy.)


Thank you for your time.

Let me explain the strategy

Stoch Line = Red (K Period: 91, D Period 30, Slowing 30, Ma Method Simple)
SMA Line = Green (Period: 91)
RSI Line = Blue (Period : 8)

Rules for buying and selling are as below:
Buy Rule = Stoch Line Above SMA Line and RSI Below or Equal 30
Sell Rule = Stoch Line Below SMA Line And RSI Above or Equal 70

Exit Rule
Buy Position will close when rsi touch 70 and sell position will close when rsi touch 30

rules-jpg.115978


here is the screen shot
 
Back
Top