I´d like to create a trading system based in MACD and moving average crossover. If the 2 are bullish the system is long , if anyone of them is bearish the system is out of the market , and if booth of them are bearish the system is short.
I´m a newbie. I´m trading intraday stock indexes in Brazil. I find the optimized MACD and move avenger for the index. I ´d like to create a system tath buy on crossover on macd and move avenger. If one of them crosses(MACD for example)against the trade the long position is closed , and if the other cross (move avenger) a short position is opened.