I need a tradescript for the following strategy

Buy signal is generated when

MACD crosses the MACD signal (Upside), default macd indicator values.

and

A buy signal is indicated by supertrend (Supertrend is 9 and 2 (Multiplier))

Sell signal is generated upon the reverse, i.e when macd comes below the macd signal line and supertrend indicates a sell.

hElLO tRaDeR,

BUY MACD CROSSOVER:

MACD(13, 26, 9, EXPONENTIAL) > MACDSIGNAL(13, 26, 9, EXPONENTIAL) AND 
REF(MACD(13, 26, 9, EXPONENTIAL),1) < REF(MACDSIGNAL(13, 26, 9, EXPONENTIAL),1) 

TRADESCRIPT does not support super trend function.

SELL MACD CROSSOVER:

MACD(13, 26, 9, EXPONENTIAL) < MACDSIGNAL(13, 26, 9, EXPONENTIAL) AND 
REF(MACD(13, 26, 9, EXPONENTIAL),1) > REF(MACDSIGNAL(13, 26, 9, EXPONENTIAL),1) 

MACD would have been answered in some of the previous questions. Regarding supertrend, I just checked again and did not find it in the tradescript help manual. I believe it is not incorporated as an indicator/function in the scripting language yet. One might need to manually code for the supertrend indicator function, if that is at all possible.

awesome… atleast, i dont have to watch over macd anymore… ill watch supertrend.