Menu
  • Option Hydra
  • Training
  • Premium
  • Courses
  • Library

Marketcalls

Simply Intelligent Technical Analysis and Trading Strategies

  • Software
    • Amibroker
    • NinjaTrader 7
    • Ninjatrader 8
    • Option Action
    • Market Analyst
    • Metatrader
    • Python
    • Datafeed
  • Market Profile
    • Orderflow
  • Markets
  • Commodities
  • Forex
  • Economy
    • Banking
  • Webinars
  • Trading Lessons
    • Algo Trading
    • Infographic
    • Video
You are here: Home / Metastock / Supertrend Indicator for Metastock

Supertrend Indicator for Metastock

February 10, 2013 by Rajandran 16 Comments

Supertrend Metastock Indicator

 
Supertrend Indicator

Supertrend indicator had been a recent popular indicator among day traders and now download supertrend indicator for metastock. The indicator has been tested working under metastock 12 pro version. Sample chart of MCX Lead Futures with supertrend indicator shown above

Factor:=Input("Factor",1.00,10.00,3.00);
Pd:=Input("ATR Periods",1,100,10);
Up:=MP()+(Factor*ATR(Pd));
Dn:=MP()-(Factor*ATR(Pd));
Td:=If(Cross(C,LLV(Up,13)),1,If(Cross(HHV(Dn,13),C ),-1,PREV));
Dnx:=If(Dn=HighestSince(1,Cross(Td,0),Dn),Dn,PREV) ;
Upx:=If(Up=LowestSince(1,Cross(0,Td),Up),Up,PREV);
ST:=If(Td=1,Dnx,If(Td=-1,Upx,PREV));
ST

How to Apply this Supertrend Indicator in Metastock

1. Open Metastock
2. Goto Tools->Indicator Builder -> New
3. Paste the code in the Indicator Editor and Save under the Name Supertrend

Metastock Indicator Editor

4.Now Goto Insert->Indicator
5.From the Indicator List choose Supertrend and apply on the Inner Window #1 as shown below

Metastock Supertend

6. Bingo Done. Now start using it

If you are not using Metastock then here you have other options
Download Supertend Indicator for Amibroker with Targetlines and Dashboard
Download Supertrend Indicator for Metatrader with Sound and Popup Alerts

Related Readings and Observations

  • Supertrend Multi Timeframe Based Trading System – Amibroker AFL CodeSupertrend Multi Timeframe Based Trading System – Amibroker AFL Code Here is the first prototype from Marketcalls which demonstrates multi-timeframe based trading system which compares two timeframes (5min and hourly in this case) and takes a trade decision […]
  • Webinar : Comparison on Performance of SupertrendWebinar : Comparison on Performance of Supertrend After lot many people requested us to compare the performance of various supertrend systems we are geared to sit with the people to test the performance of supertrend rigorously for index […]
  • Lin Supertrend – 5min and 10min Live Charts for NSE FuturesLin Supertrend – 5min and 10min Live Charts for NSE Futures Lin Supertrend is new and responsive version of Supertrend goes live for NSE Future stocks and index futures. Lin Supertrend uses linear regression to bring responsiveness in the system […]
  • Supertrend V5.0 – Amibroker AFL CodeSupertrend V5.0 – Amibroker AFL Code In the new version of Supertrend thought of removing ATR factor to make the trading strategy independent of volatility factor. It is a simple long/short strategy fits for trading lower […]
  • How to Get Market Profile and Footprint Profile Charts?How to Get Market Profile and Footprint Profile Charts? Market Profile is the recent buzzword in the social media especially when comes to Indian traders. And this article throws light on variety of options available for traders to access […]
  • Supertrend V4.0  – Amibroker AFL CodeSupertrend V4.0 – Amibroker AFL Code Compared to Supertrend 3.0 with the new version two interesting features has been added. One is a simple EMA filter rule is added to Buy and Short Conditions and changes in the dashboard […]

Filed Under: Metastock Tagged With: Metastock, SuperTrend

About Rajandran

Rajandran is a Full time trader and founder of Marketcalls & Co-Founder of Traderscafe, trades mostly using discretionary Trading Concepts like Market Profile, Trading sentimental analysis, building timing models, algorithmic trading models. Instructs professional traders, full time traders & aspiring full time traders. Rajandran attended college in the Chennai where he earned a BE in Electronics and Communications. Rajandran has a broad understanding of trading softwares like Amibroker, Ninjatrader, Esignal, Metastock, Motivewave, Market Analyst(Optuma),Metatrader,Tradingivew,Python and understands individual needs of traders and investors utilizing a wide range of methodologies.

Comments

  1. Anandha says

    February 13, 2013 at 10:19 pm

    Code given looks ok. But what are the parameters to use for Factor and ATR Period.
    I think those values are important after this code is placed.

    Anandha

    Reply
  2. yogesh says

    February 13, 2013 at 10:55 pm

    salute to your service in financial .
    thanks,

    how to run live data(from where?) in metastock eod?
    pls give some more on metastock.

    Reply
  3. sonu says

    September 17, 2013 at 1:13 pm

    hello rajander sir

    i am using metastock 10.2 version rt as my trading platform

    i need help in coding for bollinger band for metastock

    now specificaly i want upper, middle , lower, bands to be displayed in horizontal line insted of curvilner lines can u help me out sir

    parameters i am using are 27 days moving average with standard devitation 2

    sir i want that the bands should move below the price action

    looking for favourble response

    sonu

    Reply
  4. vishvanath says

    April 3, 2014 at 11:12 am

    First of all Thanks for the Formula….

    Can u put up SuperTrend Formula for EXPLORER for Metastock

    Reply
    • Ravindra Kumar Karnani says

      February 7, 2017 at 10:46 am

      Hi, Could you get Exploaration for Suertrend? Please post here or mail me at: rkkarnani@gmail.com

      Reply
  5. MAHINDER SAINI says

    June 8, 2014 at 12:38 am

    SIR
    THNAKS FOR GIVEN SUPER INDICATOR YOU ARE GREAT SIR IF SOME THING NOW YOU
    DESKOVER PLEASE EMAIL ME

    THANKS THANKS THANKS THANKS

    Reply
  6. Andrea Bertini says

    July 18, 2014 at 8:57 pm

    It would be nice to have tho indicator in other 2 versions for metastock:

    1) the supertrend indicator plots only the long period visible
    2) the supertrend indicator plots the long e sell periods in different colors

    thx

    Andy

    Reply
  7. Shiva says

    July 27, 2014 at 9:10 am

    Can you please give me the code for Super Trend Indicator for Metastock Stock Exploration.
    The formula given above is working to build an indicator but the same code is not usable in
    Metastock exploration. Pls send me the exploration code if you have it ready. Thanks in advance.
    Shiva

    Reply
  8. Sayantan Mitra says

    August 23, 2014 at 3:35 pm

    Dear Sir,

    Can you please provide the Metastock Exploration for both Uptrend And Downtrend of Super Trend Indicator? I have liked the indicator very much, buy cannot explore to find the stocks among 1500 NSE stocks.

    So, please if possible please provide the exploration formula for both Uptrend & Downtrend of Super Trend.

    Thanks & Regards,

    Sayantan

    Reply
  9. sudhakar says

    December 14, 2016 at 8:40 am

    The formula given above is working to build an indicator but the same code is not usable in
    Metastock exploration. Pls send me the exploration code if you have it ready. Thanks in advance.

    Reply
  10. kc says

    August 18, 2017 at 12:07 pm

    Can you provide me the buy & sell supertrend indicator to me .thank you

    Kc

    Reply
  11. ABHIJITH G says

    January 21, 2018 at 11:45 am

    ABHIJITH G

    CREATING METASTOCK SUPERTREND EXPLORATION:

    1ST STEP:

    CREATE SUPERTREND INDICATOR :

    CLICK INDICATOR BUILDER > NEW> TYPE “SUPERTREND” AS THE NAME OF THE INDICATOR AND PASTE THE FOLLOWING IN THE FORMULA COLUMN

    Factor:=Input(“Factor”,1.00,10.00,3.00);
    Pd:=Input(“ATR Periods”,1,100,10);
    Up:=MP()+(Factor*ATR(Pd));
    Dn:=MP()-(Factor*ATR(Pd));
    Td:=If(Cross(C,LLV(Up,13)),1,If(Cross(HHV(Dn,13),C ),-1,PREV));
    Dnx:=If(Dn=HighestSince(1,Cross(Td,0),Dn),Dn,PREV) ;
    Upx:=If(Up=LowestSince(1,Cross(0,Td),Up),Up,PREV);
    ST:=If(Td=1,Dnx,If(Td=-1,Upx,PREV));
    ST

    2ND STEP:

    CREATION OF EXPLORATION:

    1. CLICK ‘THE EXPLORER’

    2. NEW EXPLORATION

    3.UNDER A, NAME COLUMN AS BULLISH AND PASTE THE FOLLOWING FORMULA

    C> Fml( “supertrend”) AND Ref(C,-1) < Fml( "supertrend")

    4. UNDER B. NAME COLUMN AS BEARISH AND PASTE THE FOLLOWING FORMULA

    C Fml( “supertrend”)

    YOU CAN LEAVE FILTER COLUMN BLANK OR ADD AS REQUIRED BY YOU.

    5.CLICK OK.

    6. HAVE ENOUGH DATA FOR RUNNING THE EXPLORATION. SO CLICK OPTIONS (NEXT TO REPORTS BUTTON) > AND LOAD 400-500 DAY RECORD ELSE WITH MINIMUM RECORDS LOADED MOST WOULD GET REJECTED AS “Results of filter formula not defined on calculation date.”ERROR.

    PLEASE NOTE THAT THIS EXPLORATION IS QUITE SLOW COZ OF ENOUGH CALCULATIONS IN THE FORMULA. (I RUN 2GB RAM).

    DO LET ME KNOW IF IT WORKED.

    Reply
    • ABHIJITH G says

      January 22, 2018 at 10:23 am

      small correction

      4. UNDER B. NAME COLUMN AS BEARISH AND PASTE THE FOLLOWING FORMULA

      C Fml( “supertrend”)

      Reply
      • ABHIJITH G says

        January 22, 2018 at 10:28 am

        4. UNDER B. NAME COLUMN AS BEARISH AND PASTE THE FOLLOWING FORMULA

        =CFml( “supertrend”)

        Reply
    • ABHIJITH G says

      January 22, 2018 at 10:35 am

      small correction:

      step 4.

      same formula as step 3. you will have to reverse the greater and smaller signs i.e.

      unable to paste it.

      Reply
  12. mahesh says

    April 14, 2018 at 12:46 am

    Would like to see change in the color, as it turns bullish to green and bearish as red
    How to embed this in the code????

    Reply

Leave a Reply to ABHIJITH G Cancel reply

Your email address will not be published. Required fields are marked *

Email Newsletter

Sign up to receive email updates on latest trading strategies , analysis & financial market updates

We Respect Your Privacy

Premium Access

Username:
Password:
Remember Me
Lost your password?

Tools For Traders

  • Marketcalls Android App
  • MCX Signals
  • Intraday Signals
  • International Commodities
  • OI Tracker
  • Participation OI
  • Your Broker
  • Market Sentiment Analysis

Amibroker Updates

Code Snippet: ATM Call and ATM Put calculation from Spot Prices: Amibroker AFL

December 10, 2019 By Rajandran 2 Comments

Volatile Phases – Colorful ADX Amibroker AFL Code

November 16, 2019 By Rajandran 4 Comments

Amibroker Technical Analysis Workshop – Bangalore

November 1, 2019 By Rajandran 2 Comments

How to Send Alerts from Amibroker to Telegram Channel using Telgram API

June 12, 2019 By Rajandran 15 Comments

How to Estimate the VWAP based settlement Close like a Pro using Amibroker?

June 9, 2019 By Rajandran Leave a Comment

  • Facebook
  • Google+
  • LinkedIn
  • RSS
  • Twitter
  • YouTube

Metatrader Updates

MetaTrader 5 Demo Servers Now Available for BSE Currency Markets

March 20, 2018 By Rajandran 8 Comments

ChartIQ – WebTrader for MT4

December 4, 2017 By Rajandran 5 Comments

Metatrader 4 – Web Platform Overview

October 29, 2015 By Rajandran 9 Comments

William VIX FIX Indicator for Metatrader 4

May 16, 2015 By Rajandran 9 Comments

How to Install Custom MQL4 indicators in Metatrader

November 14, 2014 By Rajandran 7 Comments


About | Contact Us | Terms and Conditions | Privacy Policy | Support Policy | Privacy Policy | Refund Policy | Disclaimer


© Copyright 2018 Marketcalls Financial Services Pvt Ltd · All Rights Reserved · And Our Sitemap · All Logos & Trademark Belongs To Their Respective Owners·

Data and information is provided for informational purposes only, and is not intended for trading purposes. Neither marketcalls.in website nor any of its promoters shall be liable for any errors or delays in the content, or for any actions taken in reliance thereon.