Cross average

#1
Hello,

I want to develop the following system is very simple.
Is based on 3 simple averages, such as 4, 9 and 18 simple averages.
The intersection of the two stockings (9 and 18), gives the warning signal. For clarification, I think that the crossing is bullish.
The input signal would be the first candle that once given the signal (intersection of half 9 and 18) the price would be higher than the average smallest 4.
Always accumulate to repeat the condition, provided that the price has crossed above the average of 4.
Counter signal output, or if the crossing dela average 9 and 18 is performed in reverse.
I would like to optimize the system by varying the value of the mean.
Anyone can help me? I have no great knowledge of programming. Thank you very much.

Regards,
 

Similar threads