Help with coding a trading idea

 

Hello everyone,

I have read through many of the forums on this and many other sites and did not find anything that exactly matched my idea so I was hoping you could all take a stab at it. I am currently learning the programing code but this idea is currently beyond my skills so any help would be great.

My idea:

Buy triggers---

1. cross of a 5 LWMA and a 10 SMA &

2. rsi crossing above 55 level &

3. PSAR on the bottom &

4. DMI+ crossing above DMI-.

Sell triggers---

1. cross of a 5 LWMA and a 10 SMA &

2. rsi crossing below 45 level &

3. PSAR on the top &

4. DMI+ cross below DMI-.

Lastly, I do not know if there could be a MTF factor to help with whipsaws.

Any help with coding this would be greatly appreciated. I have attached a MA cross over system I have found if it is any help.

Thanks in advance,

Arbitrage