Code: Select all
inputs: MALength( 4 );
variables: MA4( 0 ), MA42( 0 ), MA43( 0 );
MA4 = AverageFC( Close, MALength );
MA42 = AverageFC( Close, MALength ) of data2;
MA43 = AverageFC( Close, MALength ) of data3;
If
MA4 > MA4[1] AND
MA42 > MA42[1] AND
MA43 > MA43[1]
then
Plot1(1,"uptrend");
I am curious if this type of code would be possible to do in multicharts. Or will I need to go about this a different way? Global variables, ADE, etc..?