Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Seems like the copy paste didn't get all of that last bit of code; try moving the mouse to the right to keep selecting that line or here it is separated:
assignPriceColor(if paintbars and T3 <T3[1] then color.dark_red else if paintbars and T3 > T3[1] then color.dark_green else color.CURRENT);
Seems like the copy paste didn't get all of that last bit of code; try moving the mouse to the right to keep selecting that line or here it is separated:
assignPriceColor(if paintbars and T3 <T3[1] then color.dark_red else if paintbars and T3 > T3[1] then color.dark_green else color.CURRENT);
Yes you right I got it now its on and running I like this indicator is smooth and on target......
#hint:<b>T3 Adaptive Smoothing Indicator</b>\nThis study was adopted from the Technical Analysis of Stocks and Comodities article "Smoothing Techniques for More Accurate Signals" by Tim Tillson, Jan 1998 (V16:1 pp33-37)
#hint: indicator: Defines the level of filtering to occur, default is 3
#hint: volumeFactor: Adjusts the amplitude of the feedback added back into the base filter
declare upper;
input indicator = { T1, T2, default T3, T4, T5, T6 };
input price = close;
input period = 10;
input volumeFactor = 0.70;
input displace = 0;
input sign = { default plus, minus };
input Label = No;
input paintbars = No;
script _gd {
input _price = close;
input _period = 10;
input _v = 0.70;
input _sign = { default plus, minus };
def _ema = ExpAverage( _price, _period );
plot _gd = ( _ema * ( 1 + _v ) ) - ( ExpAverage( _ema, _period ) * _v );
}
def _t1 = _gd( price[-displace], period, volumeFactor, sign );
def _t2 = _gd( _t1, period, volumeFactor, sign );
def _t3 = _gd( _t2, period, volumeFactor, sign );
def _t4 = _gd( _t3, period, volumeFactor, sign );
def _t5 = _gd( _t4, period, volumeFactor, sign );
def _t6 = _gd( _t5, period, volumeFactor, sign );
plot T3;
switch( indicator ) {
case T1:
T3 = _t1;
case T2:
T3 = _t2;
case T3:
T3 = _t3;
case T4:
T3 = _t4;
case T5:
T3 = _t5;
case T6:
T3 = _t6;
}
T3.AssignValueColor(if T3 > T3[1] then Color.Green else Color.Red);
T3.HideBubble();
AddLabel(Label, if T3 > T3[1] then " A " else " A ", if T3 > T3[1] then Color.Green else Color.Red);
assignPriceColor(if paintbars and T3 <T3[1] then color.dark_red else if paintbars and T3 > T3[1] then color.dark_green else color.CURRENT);
===
hi there, Please, How do I scan stocks using this study?, Please, Does anyone have the code to scan stocks in TOS or the code to use it in the watchlist?