eagal
January 14, 2015, 9:23pm
1
Hi
I need Trade Scrip for one of my strategy.
Buy Condition : Price close above 200 EMA & also 20 EMA, MACD(26,13,9) crosses up Signel line.
Buy Exit : MACD crosses down Signel line
Short Condition : Price close below 200 EMA & also 20 EMA, MACD crosses down Signel line.
Short Exit : MACE crosses up Signel line.
nithin
January 14, 2015, 11:03pm
2
Yes Vamsi, your code seems right. You can look at this post , we have a few hundred queries answered on tradescript. We will soon have dedicated people to answer all coding queries on tradingqna.
eagal
January 14, 2015, 10:03pm
3
Please confirm me the below code is correct
Buy : CLOSE > EMA(CLOSE, 20) AND CLOSE > EMA(CLOSE, 200) AND MACD(13, 26, 9, EXPONENTIAL) > MACDSignal(26,12, 9, EXPONENTIAL)
Buy Exit: MACD(13, 26, 9, EXPONENTIAL) < MACDSignal(26,12, 9, EXPONENTIAL)
Short : CLOSE < EMA(CLOSE, 20) AND CLOSE < EMA(CLOSE, 200) AND MACD(13, 26, 9, EXPONENTIAL) < MACDSignal(26,12, 9, EXPONENTIAL)
Short Exit : MACD(13, 26, 9, EXPONENTIAL) > MACDSignal(26,12, 9, EXPONENTIAL)