|
|||||||||||||||||||
|
|||||||||||||||||||
| Special offer: buy AmiBroker and EOD+Real-Time Data |
|
input: length1(NumericSimple), length2(NumericSimple), length3(NumericSimple); var: HH(0), LL(0); HH = Highest(H,length1); LL = Lowest (L,length1); SMI = 100 * (XAverage(XAverage(C-(0.5*(HH+LL)),length2),length3) / (0.5 * XAverage(XAverage(HH-LL,length2),length3))); Type : Indicator, Name : SMI_TRADE Indicator Inputs: length1(64), length2(34), length3(7); Value1=SMI(length1,length2,length3); If Value1 - Value1[1] > 0 and Value1 > 0 then Value2=Value1 {Vaulue2 is portion of SMI that positive and rising} else Value2=0; If Value1-Value1[1] < 0 and Value1 < 0 then Value3=Value1 {value3 is portion of SMI that is negative and falling} else Value3=0; Value4=Value2+Value3; Plot1(Value4,"SMI_Trade"); Code:
all formulas for TradeStation all formulas
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators and systems are submitted by anonymous users. Therefore S4T™ does not take any responsibility for it's quality. If you use any of this information, use it at your own risk. You are responsible for your own trading decisions. Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade. In no case will S4T™ be responsible for your trading gains or losses. |
|
|