Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

SMV Trading System v1.0 – AFL code for Amibroker

1 min read

SMV Trading system V1.0 – An Intraday Trading Approach with Combination of SDA2 Trend Trading System + Market Profile + Volume Profile (SMV Trading System v1.0)


 
Nifty future charts is shown over which SMV Trading System is applied on top of that with 5 day Profile Charts.

About SMV Trading System Indicators

-The Orange Histogram on the left side shows the volume profile
-Buy and Sell Signals are based on SDA2 Trend Trading System
-Violet Historgram Bar Shows Market Profile
-Yellow Horizontal bar near the Market Profile indicates POC – Point of Control
-Two Blue Horizontal bar near the Market Profile indicate Initial Balance/IB
-Its advisable to trade wit 5 min charts if your are trading intraday with nifty future

Amibroker Preferences Settings

To get the same layout as per above chart goto->Amibroker Menu->Tools->Preferences->Colors and set as per the settings given below
Amibroker Preferences Settings

Buy and Sell Trading Rules

-Simply the Buy and Sell Signal on the 5min Nifty Future Chart doesn’t mean that one should simply buy/sell.
-POC(Yellow Line) moves dynamically according to the market variations till the end of the trading day.
-Buy if Green Arrow Appears and POC(Yellow Line) is Below the Green Arrow.
-Sell if Red Arrow Appears with POC(Yellow Line) is above the Red Arrow.
-No Trade zone/Exit Position if the above rule violates or change in signal. Always keep your Dynamic SL few points from the POC.
-Always try to target 10-20 pts in nifty future.
-Analyse the Trading System and Understand the nature of the trading system
-Carry Forwarding the position to the next day require more analysis & good trading skills.
-Trading system is more reliable if there are less gap up/Gap Down in the system. If there are GAP Up/ GAP down then SDA2 wont provide reliable signal on 5min/15min charts charts.
-Rules/afl code parameters are subject to change w.r.t time.

SMV Trading System – Amibroker AFL Code
https://gist.github.com/6a70b5885a6da46b0e37e48dcff5cf49

Download SMV Trading System v1.0 AFL code for Amibroker

SMV Trading System – Bar Replay Mode Video

httpv://www.youtube.com/watch?v=Z3VHl79OYOU

SMV Trading system is shown in BAR replay mode using Nifty Futures 5min charts between 16 Feb 2012 to 23rd Feb 2012

Regards,
Rajandran R

Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

What is QuantZilla?

Quantzilla is 75+ hours of code mentoring program designed for noncoders who want to learn the coding program right from designing indicators, scanners, trading...
Rajandran R
58 sec read

Things to Consider While Building a Bracket Order Execution…

Building a Bracket Order Strategy is the most demanded request we got from most of the algomojo traders. This article explains the list of...
Rajandran R
12 min read

PlaceOrder – Multi Broker Exectuion Code Snippets for Amibroker

This tutorial explains how to build a button trading right from scratch and with a click of a button how you can send orders...
Rajandran R
7 min read

22 Replies to “SMV Trading System v1.0 – AFL code for Amibroker”

  1. hello sir thanx for the afl. but now many one use 5.4 so pls see that it will work in that and pls have a pdf about how to use market profile afl. although ur explanation is really good to simplify tough subject .

  2. dear sir i m a great fan of u plz tell me which afl is good for call put and wht is the best way to trade in call put thanks a lot if u reply me

  3. while compiling the smv ts afl, I get error as below:

    Error 10. Subscript out of range. You must not access array elements outside 0.. ( Barcount-1)range.

    Using version 5.3.4

    Kindly help me resolve.

    thx.

  4. resp sir,
    this smv trading system working nicely on my system. giving signals. But you need to explain somethings about it like how to use market profile and IB . and validityof signals it looks fabulous trading system
    thank you.

  5. Hi,

    Your Super trending system is awesome and i am using it for sometime…Tell us how this SMV system works..It Is showing error also in Amibroker..

    Thanks
    Senthil

  6. getting error “u r calling Plot(OHLC) FUNCTION OVER 500 TIMES, IT IS HIGHLY INEFFICIENT, REDUCE NO. OF CALLS.
    PLS GUIDE

  7. DEAR SIR I WANT POSITIONAL TRADING SYSTEM OR WHICH WHICH TIME INTERVAL USE FOR SHORT TERM OR LONG TERM PLZZZZZZZZZ HELPPPPPPP ME Rajandran R

  8. sir,
    Please give details of your buy/sell software.
    And how much amount should i invest in
    this software to make it fully operational.
    Can you provide the latest past performance ?
    Can I do positional trades in Nifty /
    Do u have clients in pondicherry / Tamilnadu .
    Do you conduct training ,to use this software.
    Do you have training CDs?

    bye albert

  9. Greetings R,

    I am always amazed and your site is one of the reference material I always seek for upgrading or clearing some fog about strategies, indicators and myriad of other things. So thank you for your continued help for all fellow traders who probably have been fooled a million times by tips providers and the buy/sell software guys. Like that movie Karnan I wish I could ask all the ‘punniyam’ that you have accumulated in your life doing the dharma you do :).

    Anyways, enough of my senti…. I continue to get the error ” Plot(line,””,ParamColor(“Color”, colorCustom13), styleLine+styleDots);”. Since I aint no coding guy, would seek your assistance to overcome this issue. I have Ami 5.6 (registered one).

    Regards
    KK

  10. Greetings R,

    I am always amazed and your site is one of the reference material I always seek for upgrading or clearing some fog about strategies, indicators and myriad of other things. So thank you for your continued help for all fellow traders who probably have been fooled a million times by tips providers and the buy/sell software guys. Like that movie Karnan I wish I could ask all the ‘punniyam’ that you have accumulated in your life doing the dharma you do :).

    Anyways, enough of my senti…. I continue to get the error ” Plot(line,””,ParamColor(“Color”, colorCustom13), styleLine+styleDots);”. Since I aint no coding guy, would seek your assistance to overcome this issue. I have Ami 5.6 (registered one).

    Regards
    KK

    1. Code is designed to work in Amibroker 5.3 version. High versions has lot many restrictions and code is not efficiently built to handle it.

  11. Strange Rajendran, while I continue to see you respond to basic queries, this simple coding issue you havent addressed yet

Leave a Reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More