SMA based pinescript strategy with alerts

Job ID: 33810326

Budget: ₹600 – ₹1,800 INR

The entry signal has 3 conditions that need to be met.
The exit signal has 2 conditions that have to be met.
It is all simple, only using SMA and candlesticks.

Entry:
Price is under 15 SMA. THEN >
4 new candlesticks/bars close above SMA 15
&&
SMA 15 < 100 SMA
(buy signal at the 5th bar after 4 bars meets the condition)


EXIT:
Price close (1bar) under SMA 43
&&
SMA 43 above SMA 100
Related categories: Python Metatrader Pine Script Trading MQL4