Daily timeframe SuperTrend on intraday chart

Daily timeframe SuperTrend on intraday chart

This is an attempt to draw the SuperTrend indicator made of daily OHLC values on inferior timeframe for intraday trading.

The idea came from a recent forum post where someone wanted to draw Average True Range information on intraday charts. Since SuperTrend is mainly made of ATR, here is the final result of my research on this. You already know that multi timeframe support is still not available for ProBuilder, so the result may differ a bit from the true daily timeframe SuperTrend. ATR is normally calculated with a Wilder Average, but I’m using a simple moving average here, that’s why you may notice differences. But, because I found it would be valuable, that’s why I’m sharing the indicator with the community.

If someone has an idea to calculate the real Wilder Average from daily OHLC in an intraday timeframe, I’d be pleased to help 🙂

 

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Lyny • 01/19/2017 #

    something wrong, I import the code file .itf into indicator to load, but there is only 1 straight line at bottom indicator area. It does not look as your picture. Can you check your code or advice me to do correctly. I am using Prorealtime v10.2. Even I tried load the indicator on Price but nothing draw out at all.

    • Nicolas • 01/19/2017 #

      You need to have enough bars loaded on your chart for the indicator to compute completely the daily timeframe.

  2. verdi55 • 01/19/2017 #

    Working with separately calculated supertrend indicators in backtests is usually somewhat problematic, because calculation times are extremely long compared to the built-in supertrend indicator (something between 10 to 50 times longer, in my experience). It may be more practical to use the built-in supertrend for backtests and to modify buy and sell conditions : For example, set stop buy orders to the value of the last supertrend. Or : exclude buy entries when the supertrend is crossed (at the end of a bar) by a very short amount only, and try to enter later. This saves a lot of calculation time compared to calculating a supertrend oneself.  
     
    I have used the DEMA instead of Wilder’s average for supertrend calculation (see the separate entry for the supertrend indicator) and got slightly better results in some cases, but this is paid again by a huge increase in calculation time. Also, using the average of the medianprice of the last two bars instead of the medianprice of the last bar only can smooth the supertrend and thus gives less signals. For very simple and short trading systems, this may lead to acceptable calculation time, but not for more complex ones on shorter timescales. 

    • Nicolas • 01/19/2017 #

      Very interesting Verdi. Would be a great addition to the library, your own modified version of the Super trend! Even if you don’t add it, I’ll have look myself to this kind of calculation, thanks. 

avatar
Register or

Likes

avatar avatar avatar avatar avatar
Related users ' posts
danhei Hi I am tryong to figure out how trist strategy works. I am new to pro real time. Can some...
Plop61 Hello,Thank you for sharing this beautiful strategy.Is it possible to indicate the code for ...
NoName Thank you very much for this fascinating trading system. It is still proving to be extremely...
DANY I did it on demo account; it's too dangerous for mea and I can not resist psychologically  ....
demoz How can a demo account be dangerous? Did you have it run live (on a demo account for exampl...
DANY Yes, I mean that I tried on a demo account for 2 months and it had work fine, like the BackT...
MikeGC I don't know if you have used the variables a and b to optimise the parameters for the Super...
gianpiero75 I have not optimized, I multiplied the parameters for 6 (5,8), to use them on the 4  hoursTF...
bertrandpinoy bonjour Mike j utilise TrendChaser V2.0 et quand il prend position cela ne programme pas le ...
eisi If i switch between different Markets, the Backgroundcolour will appear where it should not...
datageek How can I get alerts on colour change?
NAMBO40 Hello, I would like to add a 25 period SMA moving average. It's possible?
avatar
Anonymous We try to enter before that the market actually turn. We try to anticipate it. In which way ...
dwgfx David-1984 are you saying that you've already factored in the spread within the code?  If y...
avatar
Anonymous no, not in teh code... only in the backtest. The entry is only between 8/22 so the spread fo...
Doctrading
8 years ago
gianlox What markets did you feel ? Thanks..
wanjpt Doctrading, could you code an alert when the supertrend touches price for various timeframes...
JSTAR PRODUCTIONS Hi there DocTrading, I have run this Screener and it only seems to screem When trend line to...
Henry
8 years ago
SuperTrend
SuperTrend
4
Indicators
Nicolas Exit and relaunch PRT should fix this behavior.
verdi55 Thank you. After a restart, it is somewhat faster; however, it still takes about 3 minutes t...
Nicolas Good! thanks for sharing your own code! Please do so with other ones if you think you can im...

Top