How to set up indicators for email and SMS alerts in Thinkorswim TOS

The email and SMS alerts in Thinkorswim TOS will not be triggered from chart indicator.


You must setup the alert in the Alerts tab.



Click the Alerts tab you should see “Study Alert” icon on the top right corner.






After click the “Study Alert” icon, there will be a popup window as shown in below.


Choose the timeframe you need to use and then “add condition”.

 



Select “Study” which contains all the indicators

 


In this example, we use RSI divergence indicator.

If you want to get email and SMS alerts for the positive divergence, then select “Positive_div” for Plot option, and set it to “is greate than or equal to” Value 0.0 then click Save.



After that Click the “Create Alert” button on the bottom right.






Now you should see the alert you just created at the bottom of this page.






You can create more than one alert for different indicators with different rules.


Please note that NOT all indicators can be used as alert for SMS and email due to the limitation of Thinkorswim, you may get “too complex” error for some indicators which are not supported.






Advertisements

Linear Regression Channel indicator Pro version for NinjaTrader 8

In statistics, linear regression is a linear approach for modelling the relationship between a scalar dependent variable y and one or more explanatory variables denoted X. The case of one explanatory variable is called simple linear regression. Wikipedia

Linear Regression Channel (LRC) is a very useful tool in trend analysis, especially for long term trend.

This Linear Regression Channel Pro version (LRC Pro) indicator has the following features:

  • Adjust the number of bars (Period input) used in the calculation of Linear Regression Channel.
  • Adjust the width of three channels with different values.
  • Adjust the number of bars to extend to the right side, 0 means no extension.

 

 

It works on the following bar types:

If you used Linear Regression Channel indicator before, you must know that the trendlines are not fixed. That trend is determined by calculating a Linear Regression Trendline using the least squares method.

 

With different ‘Period’ input value, the Linear Regression Trendlines vary greatly, let see an example of how LRC changes over time.

 

 

The chart below is taken from 1/26 with ‘Period’ =275, the Close price is above the 3rd upper trendline.

 

 

The chart below is taken from 2/5 with ‘Period’ =150, the Close price on 1/26 is still above the 3rd upper trendline, but the three Highs before 1/26 are within the trendline now.

The Low on 2/5 is below the 3rd lower trendline.

 

The chart below is taken from 2/5 with ‘Period’ =275, the Close price on 1/26 is still above the 3rd upper trendline, The Low on 2/5 is above the 3rd lower trendline.

The images below are random screenshots.

You can also use more than one instance with different inputs.

Multi Time Frame MTF Correlation Coefficient indicator for tradingview

Multi Time Frame MTF Correlation Coefficient indicator

This indicator shows the Correlation Coefficient between the four input symbols and current chart symbol over the corresponding timeframe and period inputs.

You can input four symbols with different aggregation and period settings.

The period input is the number of bars used to calculate the correlation coefficient.

How to Read the Correlation Coefficient indicator

Each dot shows the correlation coefficient between the two symbols over the corresponding timeframe and period inputs. The following categories indicate a quick way of interpreting the table values. Note that a negative correlation means the two currency pairs correlate in the opposite directions (e.g. when the price for one goes up, the other one goes down and vice versa)

  • Positive 0.0 to 0.25 weak correlation, shown as small cyan dot.
  • Positive 0.25 to 0.5 Moderate correlation, shown as medium light blue dot.
  • Positive 0.5 to 0.75 Strong correlation, shown as big light blue dot.
  • Positive 0.75 to 1.0 Very strong correlation, shown as large blue dot.
  • Negative 0.0 to 0.25 weak correlation, shown as small orange dot.
  • Negative 0.25 to 0.5 Moderate correlation, shown as medium orange dot.
  • Negative 0.5 to 0.75 Strong correlation, shown as big purple dot.
  • Negative 0.75 to 1.0 Very strong correlation, shown as large red dot.

You can also change the plot style to meet your needs.

Free Auto TrendLine indicator for Ninjatrader NT8

This indicator will automatically plot the upper and lower trend lines based on the most recent swing points.

It works on all timeframes that officially supported by Ninjatrader 8.

You are free to use and share it.

Parameters:

  • UpperLength1: the number of bars on the left and right side of the peak C.
  • UpperLength2: the number of bars on the left and right side of the peak A.
  • LowerLength1: the number of bars on the left and right side of the trough D.
  • LowerLength2: the number of bars on the left and right side of the trough B.

If set UpperLength1 to 5, it means the high at point C is higher than the high of 5 bars on both left and right sides.

RSI Triple Divergence indicator and Market Analyzer for NinjaTrader NT8.

Divergence is very common and useful in technical analysis. It indicates possible reversal signals when there are discrepancies between RSI and price movement.

The definition of divergence is when price and indicator move in different direction,
for instance, when price is in uptrend and reaches a higher high where the indicator is in downtrend.

What is RSI Triple Divergence?

The concept of triple divergence is intuitional, if there are three continueous divergences in a row between current High and previous Peak then it will trigger a signal.

For example, a bearish RSI triple divergence is shown in the chart below, bar A is current High and it has a RSI divergence with bar B which is previous peak. Divergence also exists between A and C (the 2nd previous peak) as well as A and D(the 3rd previous peak).

The following chart is a bullish RSI triple divergence. There is divergence between bar A and bar B (previous trough), bar A and bar C (2nd previous trough), bar A and bar D (3rd previous trough).


Why Triple Divergence? Is it better than normal divergence?

I have created many single divergence indicators on different platforms but they only check the divergence in one of the three terms, short-term, mid-term or long-term. Regular divergence indicator will not exam all three terms at the same time, but Triple Divergence is capable of completing the task.

Sometimes there are too many divergence appear in a short range for the normal divergence indicator.

Let see these two charts below, the first one is Triple Divergence.

https://toslancer.files.wordpress.com/2017/08/eeb8d-rsi2bdiv2bvs2b252822529.png?w=700

The 2nd one is normal divergence which has more signals.
https://toslancer.files.wordpress.com/2017/08/e3833-rsi2bdiv2bvs.png?w=700

More signals is not necessary a bad thing, but a signal (Triple Divergence) is confirmed via short, mid and long terms could be more solid.

It doesn’t necessarily mean the Triple Divergence is definitely better than the normal version, they detect signals from different angles.

Features:

  1. Instant signal on current(last) bar, no repaint.
  2. Alert when a signal appear.
  3. Select different sound alert files.
  4. Enable to show lines between Highs and Lows.
  5. Please note: it doesn’t work in Renko chart.

You can add new sound files to your NT8\sounds directory.

The following video shows how it plots in realtime.

More screenshots.

 

It also comes with a Market Analyzer which makes it possible to track signals within any timeframe.  The input “Range” is used to check if there was a signal within the given number of bars.

 

Multi Time Frame MTF Trend 4 in 1 indicator for Ninjatrader NT8

Price can be up trend and downtrend simultaneously in different timeframes.

Experienced traders know the importance of looking at Multiple Time Frames.

Analyzing multi time frame chart allows trader to have a greater view on the price action.

This MTF trend indicator shows the trend of current time frame and 3 higher time frames in a single chart. In addition, it will check the consistence of all 4 time frames.

The green dots represent uptrend, and the red dots represent downtrend.

The ‘trend period’ is used to measure the direction of price within the given number of bars.

The dots of value 1 at the bottom is the trend of ‘timeframe 1’

The dots of value 2 is the trend of ‘timeframe 2’

The dots of value 3 is the trend of ‘timeframe 3’

The dots of value 4 is the trend of current timeframe.

If current and 3 higher time frames are in the same direction, the dots at the top will appear.

Otherwise, there will be no dots at value 5.

‘timeframe1’ ‘timeframe2’ and ‘timeframe3’ must be higher than current timeframe, if your chart is 15min, ‘timeframe1’ ‘timeframe2’ and ‘timeframe3’ must be 20min or higher.

It will highlight bars when trends are inconsistent in different timeframes.

You can change the highlight color, or disable this feature.

The highlighted bars represent the situation where price may change its direction from previous trend, or in a short-term adjustment.

Due to the nature of MTF, the plots from higher timeframes may vary before the related higher timeframe bar is closed. For example, the following chart used 3-hour as TF3, assuming the 3-hour bar is start from 9:00 and end at 12:00, then the color of dots inside the box may change between 9:00 and 12:00. After 12:00 the 3-hour bar is closed, then the color of dots inside the box is fixed, it won’t change anymore.

IFrame

Flow of Fund divergence indicator for Ninjatrader NT8 with auto self backtest and alert.

VIP price: $220  This is a 1 year license. License renew price will be 50% off for the 2nd year and after.

The most recent Flow of Fund divergence indicator best input combination and backtest results.
You can get this indicator for FREE if you can find any indicator(with price less than $1000) that can beat our backtest results.

Before purchasing, please make sure you read all the information and understand how this indicator works.

The reason I created this indicator is because I was asked many times about what was the best input for some indicators, it is a really good question, but it’s also the hardest one to answer. Based on my knowledge, the best input for an indicator is not fixed, it varies and all depends on the market(FX, STOCK or FUTURE), profit target and timeframe you test it.

For example, MACD is a very popular indicator with couple inputs, but what is the best combination for it? Assuming we have an input combination which is really good in 5 min chart for FX pair USD/CAD with a 30 ticks profit target, and we found this combination in a backtest range of 2000 bars. But if you test this combination in 500 bars, the result could be awful. Further than that, you may not get the same performance with this input combination in other FX pairs even with the same timeframe and backtest range.

My conclusion is that the best input of indicators only exists in certain conditions. The best input of an indicator may vary in different timeframes, profit target and market. One combination cannot archive the best results in all conditions, in order to acquire the best performance, we need to explore unique input combinations in different situations.

The Flow of fund(FOF) divergence signal indicator consists of the following parts: The Flow of fund histogram, FOF trend line, back test result in sub chart and divergence signal in main chart. The signal is instantly drawn on current bar and will not repaint.

HISTOGRAM shows an approximate amount of money get in or out of the market within 1 bar. If selling pressure is stronger than buying pressure, it will be a red histogram, otherwise, it will be a green histogram.

Flow of fund trend line indicates the short or long term movement of the flow, determined by the “Length of FOF” input you set.

The back test result is calculated based on the current chart setting and indicator inputs combination.


It works on all official timeframes, not work on Renko chart.

Divergence

The divergence signal has two types, bearish and bullish. A blue dot will be drawn above price candle bar when there is a bearish divergence between FOF and price trend. A yellow dot will be drawn below price candle bar when there is a bullish divergence between FOF and price trend.
Let’s use the char below to explain how a divergence signal is detected.

Let’s use the char below to explain how a divergence signal is detected.

A bullish divergence occurs when the price hit a lower low and the FOF line is in uptrend.
A bearish divergence occurs when the price hit a higher high and the FOF line is in downtrend.
There is a sound alert when a signal appear, you can turn it on/off from the input.


The divergence signals depend on both price and FOF value, different input combination will generate different signals.

One input combination could be very good for bearish divergence signal, but it may cause bad performance to bullish signal. In this case, it’s recommended to use two FOF DIV indicator at the same time with different settings to get better result for both bullish and bearish signals. In order to do that you will need to turn OFF Show Bear Signal input for one of them and turn OFF Show Bull Signal input for another.

The chart below is an example of loading two FOF DIV with different settings.


Backtest result

The most useful function of this indicator is the automatic backtest.

It makes possible for users to know in advance whether the inputs could lead to a good result or not. All you need to do is trying different input combinations until you find one which is good enough for you.

There are thousands of different combinations of input, it will take quite a while to find the best one for a single symbol in a one timeframe. If you don’t have the time to do the test, we also provide a service to help you with this task.  Please check our Flow of Fund divergence indicator best input combination data mining service.

Please note that the auto target line shown in the chart below is sold separately.


Some videos: