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.

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

 
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 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.

AllinOneAlerts – Amibroker Alerts Module for Amibroker Users

AllinOneAlerts is one of the most important and most requested modules to bring all sorts of alerts with no extra coding efforts. Now even...
Rajandran R
5 min read

How to improve your Amibroker Algo Trading Execution Speed

When comes to Automated Trading speed of execution plays a dominant role in executing at better prices. Here I would like to list three...
Rajandran R
1 min read

Introduction to QuantZilla 2.0

QuantZilla is a 75+ hours of immersive coding mentor-ship program on designing trading systems, converting trading ideas into indicators and trading strategies, automating the...
Rajandran R
4 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\[email protected]" + C[ i ], i, L[ i ]-dist[i],colorWhite, colorBlue );

    if( Sell[i] ) PlotText( "Sell Signal\[email protected] " + C[ i ], i, H[ i ]+dist[i],colorRed, colorYellow );
    //if( Short[i] ) PlotText( "Short\[email protected]" + C[ i ], i, H[ i ]+dist[i], colorRed, colorYellow );
    //if( Cover[i] ) PlotText( "Cover\[email protected]" + 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