Tag: how to write amibroker afl scripts

MarketSecrets - Learn To Trade Like a Pro

AMIBroker AFL Data Feed – November 2021

AMIBroker is one of the most famous Algo-Trading Tools available in the market today, which uses AFL Scripting. We can use AMIBroker to create, back-test and deploy and strategy. This post is the placeholder for sharing AMIBroker AFL Data Feed for November 2021. Note: These files contain data feed up-to 1 minute. We are providing…
Read more

AMIBroker AFL Data Feed – October 2021

AMIBroker is one of the most famous Algo-Trading Tools available in the market today, which uses AFL Scripting. We can use AMIBroker to create, back-test and deploy and strategy. This post is the placeholder for sharing AMIBroker AFL Data Feed for October 2021. Note: These files contain data feed up-to 1 minute. We are providing…
Read more

How to create algo for Stochastic DK strategy?

How to create algo for Stochastic DK strategy?

In this episode , we are going to learn how to code Stochastic DK strategy.
Let’s get into the set-up.

Condition:
We have 2 conditions for Buying/Selling. Stoch should be above/below specific level and there should be a stoch crossover
Buy: When Stoch K is less than 15 and Stoch K crosses above Stoch D
Sell: When Stoch K is above 85 and Stoch K crosses below Stoch D

Limit of 15 or 85 is just a placeholder for oversold and overbought conditions and can be adjusted dynamically.

How to color code charts and simplify chart reading using amibroker AFL?

How to color code charts and simplify chart reading using amibroker AFL?

Colour charts will simplify out work during intraday trading. We can color the candles in such a way that is we see a specific color in the chart, it indicates, we are getting closer to our entries and we need to be alert.
This will greatly reduce our work and also make the charts colourful. This will definitely come in handy in reducing the screentime if you are an active trader and trading everyday for 6-8 hours. Having multiple screens will simplify this even further.
You can play around the RSI setting and colors, you can also make similar colourful charts for any of the indicators you use as well.

AMIBroker AFL Data Feed – September 2021

AMIBroker is one of the most famous Algo-Trading Tools available in the market today, which uses AFL Scripting. We can use AMIBroker to create, back-test and deploy and strategy. This post is the placeholder for sharing AMIBroker AFL Data Feed for September 2021. Note: These files contain data feed up-to 1 minute. We are providing…
Read more

How to create algo for RSI Trigger Line strategy?

How to create algo for RSI Trigger Line strategy?

Condition:
The moving average of RSI indicates the average momentum, while RSI indicates current momentum. So we are trying to buy when RSI crosses above its moving average.The short RSI period of 7 is used to generate sufficient signals. The Moving Average period used is 15, arbitrarily the double of RSI period.
Buy: When RSI crosses above its trigger line and RSI>60
Sell: When RSI goes below trigger line and RSI<40 Reverse is applicable for shorting.

AMIBroker AFL Data Feed – August 2021

AMIBroker is one of the most famous Algo-Trading Tools available in the market today, which uses AFL Scripting. We can use AMIBroker to create, back-test and deploy and strategy. This post is the placeholder for sharing AMIBroker AFL Data Feed for August 2021. Note: These files contain data feed up-to 1 minute. We are providing…
Read more

How to write algo for Stoch Crossover System?

How to write algo for Stoch Crossover System?

Condition:
Stochastic is an oscillator that measures the position of a stock compared with its recent trading range indicating overbought OR oversold conditions. It displays current Day price at a percentage relative to it’s trading range over the specified period of time. In a Slow Stochastic, the highs AND lows are averaged over a slowing period. The default is usually 3 for slow AND 1 for fast. The line can then be smoothed using an exponential moving average, Weighted, OR simple moving average. Confirming Buy/Sell signals can be read at intersections of the %D with the %K as well.
The Stochastic Oscillator always ranges between 0% AND 100%.
• A reading of 0% shows that the security’s Close was the Lowest price that the security has traded during the preceding x-time periods.
• A reading of 100% shows that the security’s Close was the Highest price that the security has traded during the preceding x-time periods.
• When the closing price is near the top of the recent trading range (above 80%), the security is in an overbought condition AND may Signal for a possible correction.
• Oversold condition exists at a point below %20. The security is in an oversold condition AND may Signal for a possible upmove.
• Whenever stoch makes a crossover we will initiate the trades accordingly.

AMIBroker AFL Data Feed – July 2021

AMIBroker is one of the most famous Algo-Trading Tools available in the market today, which uses AFL Scripting. We can use AMIBroker to create, back-test and deploy and strategy. This post is the placeholder for sharing AMIBroker AFL Data Feed for July 2021. Note: These files contain data feed up-to 1 minute. We are providing…
Read more

How to create algo for RSI Crossover System?

How to create algo for RSI Crossover System?

Condition:
The Trading Idea is to Buy when short-term momentum crosses above long-term momentum and vice versa.
RSI is a oscillator which depicts momentum in prices. We try using two RSI of different periods to judge the short-term momentum and long-term momentum. So trade entries will be based on RSI indicator.
However, by construction, RSI gives a lot of whipsaws while it oscillates up and down. So trade exits are done using RSI levels to avoid too frequent re-entries.
So when it comes to trade condition,
Buy: When short-term RSI crosses above long-term RSI
Sell: When RSI goes below 40 level

error: Content is protected !!