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.

EMAavg – Amibroker AFL code

25 sec read

Here is the EMAavg afl code designed with the combination of Multiple EMA’s and modified Fisher Transform. EMAavg is again just a trend following system with winning ratio close to 50% with respect to nifty on EOD charts.


 
The Buy and Sell Conditions are plotted based on the following conditions

Buy = C>EMAavg AND C>=EMA(C,10) AND fisherxform>=-0.0;
Sell =C<EMAavg AND C<EMA(C,10) AND fisherxform<-0.0;

Download EMAavg AFL code

Code is open source, free to distribute, and sharing and feedback recommended. Code currently supports Scanning and Exploration functions with Buy or Sell indications on the chart. Currently it doesn’t supports trailing stop loss indications

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

4 Replies to “EMAavg – Amibroker AFL code”

  1. Thank you so musch for the AFL………Great Job……Can I have AFL for EMA Crossover for the period of 3 and 15…..time frame…please…..

  2. Where can i learn coding using AFL language. Are there any sites or free tutorial/guide to learn writing trading logic using AFL language? Kindly suggest.

  3. Mr. Rajendran,

    If the signal comes in this afl, Will it flip? or sustain till next signal? please clarify my doubt. because signal is coming at the open of the next candle. can i buy at the open of the next candle? or should i wait for the candle close? how the code was written for the signal? Flip method? or Normal method?

Leave a Reply to Reghulal Cancel reply

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