You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I'm new to MT4, and still learning to adapt with its utility....Hope through this forum can get help help to translate this script (from Thinkorswim platform) to MT4....
Tx in advance...
Rgds,
Gugun
#---Star---t#
declare upper;
rec price = ((high + low) / 2);
input alpha = 0.07;
rec itrend = compoundValue(7, ((alpha - alpha * alpha / 4) * price + 0.5 * alpha * alpha * price[1] - (alpha - 0.75 * alpha * alpha) * price[2] + 2 * (1 - alpha) * itrend[1] - (1 - alpha) * (1 - alpha) * itrend[2]), ((price + 2 * price[1] + price[2]) / 4));
rec trigger = 2 * itrend - itrend[2];
plot inst_trend = itrend;
plot trig = trigger;
#----End-----#