Tag: how to learn algo trading?

MarketSecrets - Learn To Trade Like a Pro

How to Identify Trend using Algo?, How to Identify current trend automatically using afl script?

There is a famous saying in trading “Trend is always friend”. So when you identify a major trend, than you will get huge profit. In that sense, creating an AFL for identifying trend in the charts is extremely critical. Amibroker AFL for trend identification play a vital role in any algo trading system. If you…
Read more

How to Work With Custom Inputs in TradingView using PineScript?

Most indicators you make will not be suited to permanently hard-coded variables. Often you will want to change certain settings on the fly such as the time period, the timeframe, overbought/oversold thresholds, etc. Having it in the code will make things complicated unnecessarily while customizing it, so an option to change the variables or inputs…
Read more

What are the different BackTesting Options available in Amibroker? And How to Read BackTest Report?

What are the different BackTesting Options available in Amibroker? And How to Read BackTest Report? This window (accessible from Report button in Automatic analysis window) provides very useful information about the performance of a trading system under the test. The information included here can be customized using system test settings dialog. Explanation of values: Total…
Read more

Getting started with Algo Trading using PineScript & TradingView

Based on so many requests we have received from our followers, we are starting a brand new series on PineScript. This will be the second series on Algo-Trading. This will be in addition to the Ami Broker Series, which is already running in parallel. In this series, I’m going to walk you through the basic…
Read more

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

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

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

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

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

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.

error: Content is protected !!