Formula Insync Index

Da traderpedia.
Jump to navigation Jump to search

Formula per MetaStock®
Benchè fosse teoricamente possibile sviluppare l'Insync Index in un'unica formula, è preferibile arrivare ad esso in più passaggi successivi, definendo prima gli indicatori che lo compongono. Del resto, ciascun indicatore, come si può notare, è sviluppato in maniera non proprio canonica. Il lettore deve pertanto inserire tutte le formule sottostanti fra le Custom Formula del MetaStock®.

FORMULA NAME: InSync Index

50 + fml("CCIInS") + fml("BOLInSLL") + fml("RSIInS") + fml("sto%kInS") + fml("sto%dInS") + fml("MFIInS") + fml("EMVInSB") + fml("EMVInSS") + fml("ROCInSS") + fml("ROCInSB") + ref(fml("PDOInSS"),-10) + ref(fml("PDOInSB"),-10) + fml("MACDInSS") + fml("MACDInSB")


FORMULA NAME: CCIInS
if(cci(14), >, 100, 5, if(cci(14),<,-100, -5, 0))

FORMULA NAME: RSIInS
if(rsi(14),>,70,5,if(rsi(14),<,30,-5,0))

FORMULA NAME: STO%kInS
if(stoch(14,1),>,80,5,if(stoch(14,1),<,20,-5,0))

FORMULA NAME: STO%dInS
if(stoch(14,3), > ,80, 5, if(stoch(14,3), <, 20, -5,0))

FORMULA NAME: MFIInS
if(mfi(20),>,80,5,if(mfi(20),<,20,-5,0))

FORMULA NAME: ROCInS2 ROC10 - MA(roc10,10)
roc(C , 10, $) - mov(roc(C,10,$), 10,S)

FORMULA NAME: EMVInSS Sell Signal Only
if(fml("EMVInS2"),>,0,if(mov(emv(10,S),10,S) , > ,0, 5, 0),0)

FORMULA NAME: EMVInS2
emv(10,S) - mov(emv(10,S),10,S)

FORMULA NAME: EMVInSB Buy Signal Only
if(fml("EMVInS2"),<,0, if(mov(emv(10,S),10,S), <, 0, -5, 0),0)

FORMULA NAME: ROCInSS ROC Sell Signal Only
if(fml("ROCInS2"), > , 0, if(mov(roc(C,10,$), 10,S),>,0,5,0),0)
FORMULA NAME: ROCInSB ROC Buy Signal
if(fml("ROCInS2"), <, 0, if(mov(roc(C,10,$),10,S),<,0,-5,0),0)

FORMULA NAME: PDOInS2 ind - mov(ind)
dpo(18) - mov(dpo(18), 10, S)

FORMULA NAME: PDOInSS PDO Sell Signal
if(fml("PDOInS2"), >, 0, if(mov(dpo(18),10,S), >, 0, 5, 0), 0)

FORMULA NAME: PDOInSB PDO Buy Signal
if(fml("PDOInS2"), <, 0, if(mov(dpo(18),10,S), <, 0, -5, 0), 0)

FORMULA NAME: MACDInS2 macd - ma(macd)
macd() - mov(macd(), 10, S)

FORMULA NAME: MACDInSS MACD Sell Signal
if(fml("MACDInS2"), >, 0, if(mov(macd(),10, S), > , 0, 5, 0), 0)

FORMULA NAME: MACDInSB MACD Buy Sig Only
if(fml("MACDInS2"), < , 0, if(mov(macd(),10,S), <, 0, -5, 0), 0)

FORMULA NAME: BOLInSUB Bollinger Upper Band
mov(C,20,S) + 2 * (std(C , 20))

FORMULA NAME: BOLInSLB Bollinger Lower Band
mov(C,20,S) - 2 * (std(C ,20))

FORMULA NAME: BOLInS2 %B Calculation
(C-fml("BOLInSLB")) / (fml("BOLInSUB") - fml("BOLInSLB"))

FORMULA NAME: BOLInSLL
if(fml("BOLInS2"), <, .05, -5, if(fml("BOLInS2"), >, .95, 5, 0))

Vedi anche: