SMA Trade Script Statergy Help

Hiiii Friends,

Please create me Statergy Code for the Following Conditions.

1) The below 3 SMA crossover

in buy : 10 SMA(close) > 20 SMA ​(close) > 30 SMA (close)

in sell : 10 SMA (close) <20 SMA ​(close) <30 SMA (close)

2) after the crossover these 3  sma should be in same direction that is parallel to each other.

Plese Help me out in creating this stategy.

Thanks in Advance.

As per the above condition,

Buy Script:

SMA(CLOSE,10) > SMA(CLOSE,20) > SMA(CLOSE,30)

Sell Script:

SMA(CLOSE,10) < SMA(CLOSE,20) < SMA(CLOSE,30)

Thank You AlgoGeek :smiley: