Tag: how to write amibroker afl scripts

MarketSecrets - Learn To Trade Like a Pro

How to use Bar Replay Tool in Amibroker?

Here is another much awaited and most requested episode on amibroker, which is “Bar Replay window” Bar Replay tool is available from Tools->Bar Replay menu. Bar Replay feature plays back data for all symbols at once with user-defined speed. It means that data for all symbols will end at specified “playback position”.   Controls description Navigation bar:  – Rewind to the…
Read more

AMIBroker AFL Data Feed – April 2022

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 April 2022. Note: These files contain data feed up-to 1 minute. We are providing…
Read more

AMIBroker AFL Data Feed – March 2022

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 March 2022. Note: These files contain data feed up-to 1 minute. We are providing…
Read more

How to create algo for MACD Intraday Trend Following strategy?

How to create algo for MACD Intraday Trend Following strategy?

In this episode , we are going to learn how to code MACD Intraday Trend Following Strategy.
Let’s get into the set-up.

Condition:
This is a slightly complicated strategy, we will be using Bollinger Band in combination with MACD to take buying, selling, shorting and short covering decisions.

Buy: When MACD line crosses signal line, with histogram above 0 and closing price of the candle is above Top Bollinger Band.
Short: When signal line crosses MACD line, with histogram below 0 and closing price of the candle is below Bottom Bollinger Band.
Sell: When we get Short signal
Cover: When we get Buy signal

Example:
Buy: When MACD line crosses signal line, with histogram above 0 and current time is within the allowable trade time of 9.30 & 3.15 and closing price of the candle is above Top Bollinger Band.
Short: When signal line crosses MACD line, with histogram below 0 and current time is within the allowable trade time of 9.30 & 3.15 and closing price of the candle is below Bottom Bollinger Band.
Sell: When we get Short signal or if time crosses 3.15
Cover: When we get Buy signal or if time crosses 3.15

AMIBroker AFL Data Feed – February 2022

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 February 2022. Note: These files contain data feed up-to 1 minute. We are providing…
Read more

How to create algo for Keltner Channel trading System?

How to create algo for Keltner Channel trading System?

In this episode , we are going to learn how to code Keltner Channel trading System.
Let’s get into the set-up.

Condition:
This is a slightly complicated strategy, we will be using Keltner Band Code to take buying, selling, shorting and short covering decisions. Keltner Band is kind of similar to Bollinger band in structure, but parameters are different.

Buy: When high of the candle crosses Keltner Top Band
Short: When Keltner Bottom Band crosses low of the candle
Sell: When Keltner Mid Band crosses low of the candle
Cover: When high of the candle crosses Keltner Mid Band

AMIBroker AFL Data Feed – January 2022

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 January 2022. Note: These files contain data feed up-to 1 minute. We are providing…
Read more

How to create algo for Exponential Moving Average Crossover Trading strategy?

How to create algo for Exponential Moving Average Crossover Trading strategy?

In this episode , we are going to learn how to code Exponential Moving Average Crossover Trading strategy.
Let’s get into the set-up.

Condition:
This is a very simple strategy, we will be using Exponential Moving Average crossover to take buying or selling decisions.
Buy: When 2 period Exponential Moving Average crosses above 3 Period Exponential Moving Average
Sell: When 2 period Exponential Moving Average crosses below 3 Period Exponential Moving Average

We will Buy: When 2 period Exponential Moving Average crosses above 3 Period Exponential Moving Average
We will Sell: When 2 period Exponential Moving Average crosses below 3 Period Exponential Moving Average

AMIBroker AFL Data Feed – December 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 December 2021. Note: These files contain data feed up-to 1 minute. We are providing…
Read more

How to create algo for Wilders Moving Average Crossover Trading strategy?

How to create algo for Wilders Moving Average Crossover Trading strategy?

In this episode , we are going to learn how to code Wilders Moving Average Crossover Trading strategy.
Let’s get into the set-up.

Condition:
This is simple strategy, we use wilders indicator and using Moving Average crossover of 2 wilders indicator to take buying or selling decisions.
Buy: When 7.5 period Wilders Moving Average crosses above 11 Period Wilders Moving Average
Sell: When 7.5 period Wilders Moving Average crosses below 11 Period Wilders Moving Average

Wilders is a very complicated strategy in itself and we won’t be getting into the details of this strategy. Since it is algo, we can use just 1 line of code to pull the Wilders data and it is enough for us. If you are interested in learning Wilders strategy, let us know in the comments section, we will cover it as part of “Trading Strategy” series if there is enough interest,

We will Buy: When 7.5 period Wilders Moving Average crosses above 11 Period Wilders Moving Average
We will Sell: When 7.5 period Wilders Moving Average crosses below 11 Period Wilders Moving Average

error: Content is protected !!