Rajandran R Creator of OpenAlgo - OpenSource Algo Trading framework for Indian Traders. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Building Algo Platforms, Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in

How to Post/Share your Code in Marketcalls Community?

38 sec read

When you are participating in Marketcalls Community if you concerns in building your trading system codes sometimes you have to post lengthier codes (AFL, mql4, easylanguage codes). While posting in our community it looses its readability so to sort out the issue introduced github gist integration with marketcalls. Just by following few steps now you will be able to share code with other community members without loosing readability.

Signup and Post your Code to Github Gist

Goto Github Gist`Signup and Post your code as shown below

Github Gist

[wp_ad_camp_5]

 
Get the Gist URL

Get the Gist URL and post in the Marketcalls Community without your username as explained below

https://gist.github.com/cd86cf60f2951709ae12

Post the URL in our Community

Now post the Gist URL without the name along with your Questions/Comments which will automatically transformed into your Code Snippet as shown below.

Marketcalls Community Wall Page

If you still not sure what marketcalls community is focussed then here is a simple video which explains all about Marketcalls Community.

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

Rajandran R Creator of OpenAlgo - OpenSource Algo Trading framework for Indian Traders. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Building Algo Platforms, Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in

Line Trading – OpenAlgo Automation Module for Amibroker Users

The line Trading Automation tool is designed for Manual traders who want to perform level-based trade execution faster and also bring some advanced trade...
Rajandran R
55 sec read

Mini Certification Course on Algorithmic Trading

Welcome to the Mini Certification on Algorithmic Trading using Amibroker and OpenAlgo! This comprehensive 4-part series is designed to equip you with the knowledge...
Rajandran R
1 min read

Pivot Reversal Strategy – Tradingview Pinescript to Amibroker AFL…

Pivot Reversal Strategy is a popular in-built strategy in Tradingview Platform. Here I had attempted to convert the pinescript v5 to Amibroker AFL Code....
Rajandran R
3 min read

2 Replies to “How to Post/Share your Code in Marketcalls Community?”

  1. Hi Sir,

    I have applied a ALF in Amibroker it is taken from wisestock site i want to apply sound alert in the same pls help me.

    ALF code as below

    _SECTION_BEGIN(“Price”);
    SetChartOptions(0,chartShowArrows|chartShowDates);
    _N(Title = StrFormat(“{{NAME}} – {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}”, O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
    Plot( C, “Close”, ParamColor(“Color”, colorBlack ), styleNoTitle | ParamStyle(“Style”) | GetPriceStyle() );
    _SECTION_END();

    Buy = EMA( Close , 3 ) > EMA( Close , 10 )
    AND RSI( 14 ) > 50;

    Sell = EMA( Close , 3 ) < EMA( Close , 10 )
    AND RSI( 14 ) < 50;

    Short = EMA( Close , 3 ) < EMA( Close , 10 )
    AND RSI( 14 ) EMA( Close , 10 )
    AND RSI( 14 ) > 50;
    Buy = ExRem(Buy,Sell);
    Sell = ExRem(Sell,Buy);
    Short = ExRem(Short,Cover);
    Cover = ExRem(Cover,Short);

    // Code to plot signals
    dist = .5*ATR(10);
    for( i = 0; i < BarCount; i++ )
    {
    if( Buy[i] ) PlotText( "Buy Signal\n@" + C[ i ], i, L[ i ]-dist[i],colorWhite, colorBlue );

    if( Sell[i] ) PlotText( "Sell Signal\n@ " + C[ i ], i, H[ i ]+dist[i],colorRed, colorYellow );
    //if( Short[i] ) PlotText( "Short\n@" + C[ i ], i, H[ i ]+dist[i], colorRed, colorYellow );
    //if( Cover[i] ) PlotText( "Cover\n@" + C[ i ], i, L[ i ]-dist[i],colorGreen );
    }
    PlotShapes( Buy * shapeUpTriangle + Sell* shapeDownTriangle, IIf( Buy,colorBlue, colorYellow ) );
    // PlotShapes( Sell * shapeDownTriangle + Sell * shapeDownTriangle, IIf( Buy,colorGreen, colorRed ) );
    // Sound
    AlertIf( Buy, "SOUND C:Program Files (x86)AmiBrokerFormulasCustom", "Buy alert", 2 );
    AlertIf( Sell, "SOUND C:Program Files (x86)AmiBrokerFormulasCustom", "Sell alert", 3 );

    _SECTION_BEGIN("Background text");
    SetChartBkColor(colorLightBlue);
    GraphXSpace=Param("GraphXSpace",10,-45,200,1);
    C13=Param("fonts",20,10,30,1 );
    C14=Param("left-right",2.1,1.0,5.0,0.1 );
    C15=Param("up-down",12,1,20,1 );
    Miny = Status("axisminy");
    Maxy = Status("axismaxy");
    lvb = Status("lastvisiblebar");
    fvb = Status("firstvisiblebar");
    pxwidth = Status("pxwidth");
    pxheight = Status("pxheight");
    GfxSetBkMode(transparent=1);
    GfxSetOverlayMode(1);
    GfxSelectFont("Candara", Status("pxheight")/C13 );
    GfxSetTextAlign( 6 );
    GfxSetTextColor( ColorRGB (217,217,213));
    GfxTextOut( Name(), Status("pxwidth")/C14, Status("pxheight")/C15 );
    GfxSelectFont("Tahoma", Status("pxheight")/C13*0.5 );
    GfxSetTextColor( ColorRGB (103,103,103));
    GfxTextOut( "By", Status("pxwidth")/C14, Status("pxheight")/C15*2.5 );
    GfxSelectFont("Candara", Status("pxheight")/C13*0.5 );
    GfxSetTextColor( ColorRGB (103,103,103));
    GfxTextOut( "HAR HAR MAHADEV – YOGRAJ R. JADEJA", Status("pxwidth")/C14, Status("pxheight")/C15*4 );
    GfxSelectFont("MS Sans Serif", 36, 900, True, True, 0);
    _SECTION_END();
    _SECTION_BEGIN("Title");

    DODay = TimeFrameGetPrice("O", inDaily);
    DHiDay = TimeFrameGetPrice("H", inDaily);
    DLoDay = TimeFrameGetPrice("L", inDaily);
    Title = EncodeColor(colorWhite)+"* YOGRAJ R. JADEJA * "+EncodeColor(colorWhite)+ Name() + ", " + Interval(2) + ", " + Date() +
    EncodeColor(colorWhite) + "\nO " + EncodeColor(colorWhite) + O +

    ", H : " + H +
    ", L : " + L +
    ", C : " + C +
    EncodeColor(colorWhite)+ "\n Day-Open : " +DODay + " Day-High : " +DHiDay + " Day-Low : " + DLoDay
    ;

    _SECTION_BEGIN("Magnified Market Price");
    //by Vidyasagar, [email protected]//
    FS=Param("Font Size",30,11,100,1);
    GfxSelectFont("Times New Roman", FS, 700, True );
    GfxSetBkMode( colorWhite );
    GfxSetTextColor( ParamColor("Color",colorBlack) );
    Hor=Param("Horizontal Position",650,1,1200,1);
    Ver=Param("Vertical Position",1,1,830,1);
    GfxTextOut(""+C, Hor , Ver );
    YC=TimeFrameGetPrice("C",inDaily,-1);
    DD=Prec(C-YC,2);
    xx=Prec((DD/YC)*100,2);
    GfxSelectFont("Times New Roman", 11, 700, True );
    GfxSetBkMode( colorWhite );
    GfxSetTextColor(ParamColor("Color",colorBlack) );
    GfxTextOut(""+DD+" ("+xx+"%)", Hor , Ver+45 );

    _SECTION_END();

  2. hii , i am looking fr a particular breakout strategy in stocks. as it is impossible to keep a watch on many stocks at the same time, i want a trading terminal where i can code my strategy for intraday and i get an alert (from say 100 scripts)whenever the script matches my condition.
    i wanted to know that if this is possible with amibroker software or is there any other software available in the market which costs less than amibroker (the strategy is quite simple).

Leave a Reply

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