NexusFi: Find Your Edge


Home Menu

 



Categories Help    






Search Results
Searching for entries matching trend, looking in keywords for any words
Found 42 matching entries

Sort by

Entries
K_WAve_v1 for ToS 5 *
This is my new "magnifier" Zero-Lag Weighted AVErage (K_WAve). the idea I was looking for is to create a moving average that magnifies the price moves and trend direction changes - with as minimum lag as possible.

the concept is mathematically simple, and is based on the same Zero-lag MA technique used in DEMA & TEMA. The values of the line should not be referred to - they mean very little, it's the color and relative position of the peaks/troughs that really matter. Also the intersection points with other MA's on the chart.

Interesting that the K_WAve will indicate trend change sometimes before the Zero-lag WMA. the base WMA and the Zero-lag WMA are exposed by default (can hide them from Study Settings)

  • K_WAve can be used for swing trading or integrated with trend-following techniques with entry on retraces - the retraces (hooks) can be made more obvious using the K_WAve line.
  • this works on time or tick charts and any aggregation.
  • added optional smoothing and adjustable "magnification factor". when set to Smoothing = 1, and Magnify = 0, K_WAve becomes a regular zero-lag WMA.
  • Up/Down colors adjustable from study settings.


Feedback welcome.
RedK


Category The Elite Circle 
 
Suggest other entries I might like
Details: K_WAve_v1 for ToS
Category: The Elite Circle 


March 22nd, 2013
Size: 692 bytes
Downloaded: 529 times

Keywords: tos trend wma zero-lag k_wave
New: K_Trender_TopChart_v2a for ToS 5 *
Updated with V2a, corrected only the channel type names (for technical correctness).. Donchian Channel is the Highest/Lowest for a period, which produces a boxy-looking channel.. that's my favourite (google Donchain system). i don't know a technical term for the channel when you take an EMA of highest/lowest which produces a curvy-type channel, so i refer to it as DonchianEMA. the rest is the same .. no calculation changes...

Here's a "Swiss Army Knife" study for fellow ToS'ers .. big thank you to my good forum friend, HGuru, for helping me complete this ...

this is a many-in-1 study, that provides a choice of price channel of many that are commonly used (Keltner, Highest/Lowest, Elder, Keltner, Bollinger..etc), and provide 2 types of signals, based on momentum of 2 EMA lengths of price (Length & Fast_Length):

1 - the primary Momentum signal is based on the main length you set in the study, and is reflected in the color of the price channel itself (green = Up = go Long, red = Down = go short, yellow = retrace or "in-transition")
(pls remember this is momentum and not trend .. though the study has the word "Trender" in the name)

2 - the secondary signal is based on momentum of the fast length EMA. and is only Up or Down. (i would usually take Up position in a green channel or down position in Red channels, so maintain direction with the primary momentum)


there are many other settings we built-into the study to play with and customize for improved visualization. better visual = better decision.. you see in the screenclip how many "personalities" we can get with different options. from settings you can do anything from hiding all elements and leaving only the secondary signals, to fully using it as your trading system, if your system is built around ATR or BB, with the added benefit of the momentum signal. you can combine with other studies you have (i'd suggest a trend following study) for a compact system that won't require lower plots (beside volume if you need it).
the calculation/CPU load this study requires isn't that much, even though it looks packed.

Settings to change length, Fast, Channel Type, the factor for the channel (for BB this would be the StDev, for Keltner the ATR factor, for Shifted EMA's the percentage...etc) - Hide the channel shading, hide/show the lines (the EMA's, the mid-channel, channel bands..etc)


there's an aggressiveness factor built in that we can set - basically this is like saying, "if the Fast Trend is decreasing and becomes less than 10%, this is as good as a negative momentum, and i want to trigger a signal to go short". Leave at 0 until you test this in your own setup and get comfortable with it.

the code is commented, and i'd ask to please keep this study only within BMT as it took a lot of work.

feedback appreciated, happy trading.
RedK


Category The Elite Circle 
 
Suggest other entries I might like
Details: New: K_Trender_TopChart_v2a for ToS
Category: The Elite Circle 


September 23rd, 2012
Size: 9.46 KB
Downloaded: 550 times

Keywords: momentum topchart trend redk tos trender
K_TraderRibbon_v1 for ToS 5 *
Update: see journal link below for more details on using K_Tarder_Ribbon in multi timeframe.

https://nexusfi.com/trading-journals/21136-learning-journal-redk-trading-options-3.html

This study was inspired by the 9/30 method setup... hope others will find it useful. it's amazing how few lines of code can produce something as effective and nice looking (they don't have to be ugly, you know... )

  • The K_Trader_Ribbon is a trend following setup based on 2 crossing-MA's concept.
  • we use WMA and an EMA of shorter length of that WMA.
  • the "ribbons" shade the area between the EMA, the WMA, and the midline of the Hi/lo Channel of the WMA.
  • the price/WMA will be on either sides of that channel depending on up/down trend ..
  • visualizing it this way hides a lot of unnecessary noise..
  • we can also better visualize the "buy" area (light shading) and the "exit loss" areas (inside the darker shades or if price penetrates the TrendLine)
  • added a buy/sell signal (up/down arrow) based on the crossing of the WMA with it's EMA (it provides the earliest signal) beside the color clue (red/Green) for an established trend up or down.


couple of nice visual enhancements to expereiment with(hi-contrast clouds and hide/show all lines) - see screenshots

try different length settings.. i liked 4/3 and 6/3 on a 5min chart..

Adjust length settings based on underlying & time aggregation until you see the price bars penetrating the ribbon to the other side of current trend *just before reversal*, and staying within the ribbon during retraces.. this will be the best settings in most cases..

feedback welcome.. pls keep within BMT.

Thank you,
RedK


Category The Elite Circle 
 
Suggest other entries I might like
Details: K_TraderRibbon_v1 for ToS
Category: The Elite Circle 


September 11th, 2012
Size: 2.14 KB
Downloaded: 944 times

Keywords: ma redk ribbon thinkorswim tos trend wma
Update(2): KR_Trender_v5 5 *
updated .ts file to reflect correct version # and add a quick change log.. no code changes. thanks to Hguru for the feedback...
Another update from previously posted KR_Trender_v4 for ToS. Inspired by some research around the 9/30 method, i needed something to show me the fast price move on the short-term compared to the prevailing longer-term trend to better identify entry points. initially i used Slow/Fast Stoch & Stoch Momentum but wasn't convinced. I went ahead and added a Fast_Momentum to KR_Trender.

for me, this is a 3 in 1. The concpet behind the calc of Fast_Mom and Trender lines is close to MACD (but more elaborate as we look at 3 EMA's not 2 - and Trender is bounded -100 to 100, where MACD isn't). then we have a representation of fast momentum (save the space of my SMI), and we have the "full trend flag" indicator when the price AND all the 3 EMA's align in a full trend formation.

on the top screen, i show the actual 3xEMA setup i used to originally develop the concept of KR_Trender, the shading is based on a BB, but has nothing to do with Trender, but it changes color based on the Trend state (Full up, Full Down, or in-Transition).

- Fast_Mom is calculated as score of the fast EMA vs it's own Hi/Low Channel. this is the same concept used by Stoch & Stoch Momentum, but then it's scaled to same scale as the main trend line - enabling mathematically comparing the 2 as rate of change of price taken from 2 diferent views.
- a crossing between Fast_Mom and Trender means the rate of price change on the short term has started to exceed, slow, or change direction from the longer-term rate of change. A crossing of zero means the shorter-term trend is reversing. if that's strong enough of a move, the longer trend will follow.
- once you get to use it, you will see the 2 lines sort of pull each other. retraces and pullbacks that provide good position entry points are much clearer as identified by the Fast_Mom line (that was my main issue)
- i kept PPS (Person's) indicator on top chart - Fast_Mom compares very well against PPS signals. many times beats it to indicate a change up or down. so that made me happy.

Other improvements:
- can show/hide Fast_Momentum plot
- can change length of Long_term Trend period. if equal to or below the main length, it will be ignored.
- Adjusted smoothing calc to only use EMA smoothing, as HMA causes an issue with chart labels in ToS
- Fast_Price_weight now 0 by default to allow focus on long-term trend and Fast_Momentum.
- Fast EMA is always taken as half of the main length

suggested Length/Long_Trend settings: 10/20 or 8/16 for intraday and 20/40 or 20/50 for longer term. Should not use Length lower than 4.

i used KR_Trender on a 5min chart as well as on daily/week . initial results are positive and tested well in live trading.

feel free to use, comment and feedback, and please keep only within BMT.

RedK


Category The Elite Circle 
 
Suggest other entries I might like
Details: Update(2): KR_Trender_v5
Category: The Elite Circle 


August 31st, 2012
Size: 5.03 KB
Downloaded: 740 times

Keywords: kr_trender momentum redk thinkorswim tos trend
Update: KR_Trender v4 for ToS 5 *
Here is my big update of previously posted KR_Trender_v3 for ToS (aka, the Rainbow_Trender). My goal is to put together a trend detection indicator (based on multi-EMAs - the most basic and enduring concept), that makes it simpler to visualize good trends to ride, and more reliable to take positions, "add to position" in case of possible continuation, and exit if trend is found to be slowing down.

pls feel free to try with different instruments, timeframes, and provide feedback. (good & bad all welcome)...

full post where this started here
https://nexusfi.com/stocks-etfs-trading/21886-how-do-you-define-bullish.html

RedK

So what represnts an ideal trend, when is a "Full Trend Alignment" detected?
this is based on the calculation of an average "score" of price relative to 3 EMA's of different lengths, and of these EMA's each to the next longer one. to explain in chart terms: a full up trend is detected when the price (P, i use HLC3 by default) moves and stays above EMA10, AND the EMA10 crosses above EMA20 AND EMA20 crosses above EMA40. otherway around for an established down trend. now I don't have to plot all these EMAs on my price charts . i can also add more weight to score of price action relative to fast EMA for reduced lag of signal

Note: the EMAs are hardcoded in the study. i set only one in the study settings, and then it takes half length of it as the faster EMA, and double length as the slower length .. i thought of making all 3 lengths adjustable from study settings, but preferred to keep this part simple. for bigger timeframe trend, i can set to 100, knowing it will take 50, 100 and 200 EMAs into the calc


Key changes for v4:
Simplify visulaization: removed vertical lines (found them nice but confusing), replaced with Chart Labels.

Better position decision making:
Added visual clue when a full trend alignment is detected (small green/red squares)

Chart Labels reflecting:
  1. Trend Status Up, Down, or Retracing (Trend is slowing down or possibly reversing)
  2. Strength of price move: Weak, Medium, and Strong
  3. Position Recommendatoin: Long, Short, Break (this is where things get interesting. The position recommendation is made more strict. KR_Trender will only give a go "Long" or "Short" if a full trend alignment is detected (the Green/Red small squares) AND the move is sustained or getting stronger (in either directions up or down). otherwise, the recommendation is a "Break !" which means i should close the position, or add to it if other PA analysis tells me there's a chance of trend continuation.

Other changes:
exposed settings for desired Trend Level. i would keep it between 30 & 40, but you can try different values. also we still have an optional weight for score of fast price action relative to the 3 EMA's

Please do not share outside of BMT.. feel free to send me any feedback if you find this helpful in capturing trends (or not, or if you think i should simplify or add something i missed)


Category The Elite Circle 
 
Suggest other entries I might like
Details: Update: KR_Trender v4 for ToS
Category: The Elite Circle 


August 7th, 2012
Size: 4.19 KB
Downloaded: 431 times

Keywords: momentum redk stochastic thinkorswim tos trend trender
KR_Trender V3 Experimental for ToS
this is a test version of KR_Trender. pls test and provide feedback. this is not a final indicator (yet).

pls see full post here
https://nexusfi.com/stocks-etfs-trading/21886-how-do-you-define-bullish.html

RedK

quick update to V3b.. still experimental and awaiting tester's feedback
1. Fix Typo (HL3 to HLC3), the calculation was correctly using HLC3.
2. trender will be yellow in the "no-trend" zone. Cyan when positive trend detected, and Magenta when negative trend is detected. you can still trade the no-trend zone, beside being more risky and unconfirmed, profit won't be as high as within a confirmed trend.
3. added an optional "weight factor" for the fast price action. this serves to magnify the short-term move vs the longer term trend (can be set to equal weight =1 in the study options)

my kids call this "the Rainbow" - so it's aka Rainbow Trender ..
all the best,
RedK


Category The Elite Circle 
 
Suggest other entries I might like
Details: KR_Trender V3 Experimental for ToS
Category: The Elite Circle 


July 27th, 2012
Size: 3.49 KB
Downloaded: 130 times

Keywords: redk thinkorswim tos trend trender
NWT Trend Ribbon
NWT Trend Ribbon - Version1
This has come up in a posting else where so I thought I might as well put it in the download area.
Basically it is a ribbon (horizontal line) that changes color to indicate the trend.
In the picture, I have put four of these onto the chart, all with the same MA periods but using different types of moving averages ie EMA, WMA, ZMA, TEMA.
It is quite simple in that it just uses a Slow and a Fast MA (example shows a 40 and a 20) but it also incorporates a spread into these two MA's ie 0.0003 (3 pips on the Forex). So the two MA's must be separated by at least 3 pips in this example before it states it is in a trend.
Green for Up, Red for Down and Blue for Stand aside (Barbwire) ie do not trade.

Note - The Study uses an external function to determine the trend, this allows the function to be easily added into a signal.
Direction = NWT_Trend(LongMALen,ShortMALen,Spread,Price,MA_Type) ;
or
Direction = NWT_Trend(40,20,0.0003,Close,"E") ;
So direction ends up with either 1 or 0 or -1. (1=Long, 0=Stand aside, -1= Short)

Compare this to the Sample ADX indicator on the bottom. The three RED lines are at 20,25 & 30.

Neil.


Category MultiCharts 
 
Suggest other entries I might like
Details: NWT Trend Ribbon
Category: MultiCharts 


May 2nd, 2012
Size: 12.63 KB
Downloaded: 533 times

Keywords: indicator trend
Kaufman Efficiency Ratio 5 *
This indicator is ported from on FatTails' Kaufman Efficiency Ratio indicator for NinjaTrader 7.

The Kaufman Efficiency Ratio shows the amount of "trendiness" versus chop. When the Efficiency Ratio crosses above the chop line, there is a trend. If the Efficiency Ratio crosses below that, the market is range bound.

Efficiency Ratio's above the horizontal chop line cause this line to be coloured yellow to help with the interpretation of chop vs trend.


Category MultiCharts 
 
Suggest other entries I might like
Details: Kaufman Efficiency Ratio
Category: MultiCharts 


January 21st, 2012
Size: 8.71 KB
Downloaded: 528 times

Keywords: filter kaufman trend rangebound
Moving Average Ultra Grad
This is a double weighted moving average that uses shorter term averages to gradually change the color of the indicator.


Category TradeStation (hidden) 
 
Suggest other entries I might like
Details: Moving Average Ultra Grad
Category: TradeStation (hidden) 


January 7th, 2012
Size: 8.50 KB
Downloaded: 337 times

Keywords: average double moving trend weighted grad
Double Weighted Moving Average Color
Here is a double weighted moving average. The line changes color to show trend. Both MA lengths are selectable. Trend color is selectable. Version 1


Category TradeStation (hidden) 
 
Suggest other entries I might like
Details: Double Weighted Moving Average Color
Category: TradeStation (hidden) 


January 7th, 2012
Size: 6.68 KB
Downloaded: 332 times

Keywords: average double moving trend weighted
 



 
Category
 




© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top