Hello,
I am trying how to write AFL. For a test I like to write the following as AFL
EMA( Close , 12 ) == EMA1; //"Error : Variable EMA1 used without having been initialized."
EMA( EMA1 , 12 ) == EMA2;
DIF12==EMA1-EMA2;
PLOT DIF12; // I like to plot this. How to use the correct plot syntax?
How do I write this? How to declare the variables?
Thanks in advance.
I am trying how to write AFL. For a test I like to write the following as AFL
EMA( Close , 12 ) == EMA1; //"Error : Variable EMA1 used without having been initialized."
EMA( EMA1 , 12 ) == EMA2;
DIF12==EMA1-EMA2;
PLOT DIF12; // I like to plot this. How to use the correct plot syntax?
How do I write this? How to declare the variables?
Thanks in advance.
Last edited: