Tag: learn amibroker afl language

MarketSecrets - Learn To Trade Like a Pro

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

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

How to setup Algo-Trading for Open Range Breakout (ORB) Trading Strategy?

How to setup Algo-Trading for Open Range Breakout (ORB) Trading Strategy?

Condition: Open Range breakout. This is exactly opposite to OHOL strategy. If open price of the stock is equal to today’s low and in case if price breaks and goes below today’s low, we can short the stock. Likewise If open price of the stock is equal to today’s high and in case if price breaks out and goes above today’s high, we can go long.

Script Setup:

I’ll go long if
• Stock is an OH candidate and if
• price breaks out to upside from the OH level and
• Current time is between 9.45 & 3.15

I’ll short if
• Stock is an OL candidate and if
• price breaks out to downside from the OL level and
• Current time is between 9.45 & 3.15

This was one of the strategies commonly used for the reversal trades, especially if you are actively trading on OHOL strategy.

In the previous episodes, we have discussed on how to install amibroker, where to get 1 minute data, how to import the data into amibroker and how to set-up the database and charts. We also discussed on some of the commonly used sripts. So please do refer the previous episodes in case you are not able to replicate this.

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

How to setup Algo-Trading for Simple Breakout Trading Strategy?

How to setup Algo-Trading for Simple Breakout Trading Strategy?

Condition: It is very simple. If price breaks out above the previous day’s high, go long. If price breaks out below the previous day’s low, short. There is one additional check – price should have opened between previous day’s low and high

Script Setup:

I’ll go long if
• Today’s opening price is less than previous day’s high
• Today’s high is greater than previous day’s high (this is break out to upside)
• Current time is between 9.45 & 3.15

I’ll short if
• Today’s opening price is higher than previous day’s low
• Today’s low is lower than previous day’s low (this is break out to downside)
• Current time is between 9.45 & 3.15

This simple set-up can be used to create AFLs for any of the breakout patterns in including Flag, Triangles, etc. We will use this code as base template in future episodes to teach various breakout patterns.

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

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

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

AMIBroker AFL Data Feed – December 2020

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

AMIBroker AFL Data Feed – November 2020

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

error: Content is protected !!