[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EasyLanguage to Metastock conversion



PureBytes Links

Trading Reference Links


I've got some code I'm trying to convert to Metastock...
it's written in EasyLanguage.

I've got:

Value1 = Close + 0.088*Value1[6];
Value2 = Value1 - Value1[6] + 1.2*Value2[6] - 0.7*Value2[12];
D = Value2[12] - 2*Value2[6] + Value2;
Plot1(D,"D");

Is there an easy way to write this as a Metastock indicator?
For example, Value1[6] means the value of Value1 6 bars ago.
But Value1 is defined recursively, so I'm not sure
how this can be done in Metastock.