| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | TS Help Function: haOpen haOpen = 0.5 * ( AvgPrice + haOpen[1] ) ; Function: haC haC = 0.25 * ( AvgPrice + haOpen + MaxList( High, haOpen )+ Minlist( Low, haOpen ) ) ; Then I try Indicator: Zero-Lagging TMA inputs: Price( TypicalPrice ), Period( 55 ) ; variables: TMA1( 0 ), TMA2( 0 ), Difference( 0 ), ZeroLagTMA( 0 ) ; TMA1 = TEMA( Price, Period ) ; TMA2 = TEMA( TMA1, Period ) ; Difference = TMA1 - TMA2 ; ZeroLagTMA = TMA1 + Difference ; if CurrentBar > 4 * Period then Plot1( ZeroLagTMA, "ZeroLagTMA" ) ; TEMA ,word not recognized by TS. Anyone have any ideas Many Thanks | ||
| |
|
| | #2 | ||
![]() | Re: TS Help Code: {Function: TEMA}
INPUTS: PRICE(NumericSeries),LENGTH(NumericSimple);
TEMA = (3 * XAVERAGE(PRICE,LENGTH)) - (3 * XAVERAGE(XAVERAGE(PRICE,LENGTH),LENGTH)) +
(XAVERAGE(XAVERAGE(XAVERAGE(PRICE,LENGTH),LENGTH),LENGTH)); | ||
| |
|
| | #3 | ||
![]() | Re: TS Help Thank you so much !!!!!!! | ||
| |
|
![]() |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |