![]() But I haven't posted that yet, so I just made this use XAverage instead. DnTLColor: String 'Red' Specified the color of the down. Truncates the trendline when the next trendline is drawn. Please note, on my version I use personally, the line "avg = (XAverage(high, Strength) + XAverage(low, Strength))/2 " from above function uses a Jurik-like phased moving average, not XAverage(EMA). Truncates the trendline on the right after the specified number of bars when the next new trendline is drawn (History must be set to 'No'.) History: String 'Yes' 'Yes' applies multiple trendlines illustrating up and down markets. If trend > 0 and trend 0 and dn up then up = up ![]() If c > up and c > Highest ( High, Strength ) thenĮlse if c 0 then flag = 1 else flag = 0 ![]() Hl = Highest ( High, ATRLength ) - Lowest ( Low, ATRLength ) Īvg = ( XAverage ( high, Strength ) + XAverage ( low, Strength ))/ 2 ATRLength ( NumericSimple ), ATRMult ( NumericSimple ), Strength ( NumericSimple ), STrend ( NumericRef ) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |