Hello,
I want to make a bot that can open long or short positions with the following conditions:
- EMA 5 crosses above EMA 12 and parabolic sar is under candle -> open a long position
- EMA 5 crosses below EMA 12 - > and parabolic sar is above candle -> open a short position
I also want a trailing stop so the positions close in profit.
Every time there is a crossover from the EMA it has to open a position; If the trade is open it has to close it and if there is no trade it has to open a position.
I tried to make it, but if i tested it, the bot doesn't open every cross of the EMA;
Can someone help me?
thx
