Help needed to create script

Pl help me to backtest & code my following Strategy for intra day futures trading:
Chart Setting:3 Minutes
Studies:
1)VWAP
2)Ehler Fisher

Strategy1:To go long
Buy when Two Green candle sticks Start & finish in succession above the Vwap line & Ehler fisher is above Zero
Exit Long Position
Exit when two Red candles finish one below the other

Strategy2:To go Short
Sell when Two Red candle sticks Start & finish in succession below the Vwap line & Ehler Fisher is below Zero
Exit Short Position
Exit when two Green candles finish one above the another.