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.

One Timeframing and Amibroker Exploration Code

1 min read

One Timeframing is a simple, powerful and popular concept when comes to a market profile trader. One Timeframing generally refers to a market that is trending in one direction. In simpler terms candlesticks constantly making higher high and higher lows lows and the consecutive candles should not breach the lows of previous candle by not more than 2-ticks in the up trending move then it is called One Timeframing Up. IF the candles/bars are constantly making lower high and lower lows lows and the consecutive candles should not breach the high of previous candle by not more than 2-ticks in the down trending move then it is called One Timeframing Down.

One timeframing

 

One timeframing happens across all the timeframes but from a intraday trading perspective 30min daily profile charts provides meaningful indication for mean reversion trading. Either one can practice mean reversion trading, partial profit booking or tighten/trail his stops when one timeframe occur on 30min charts.

Post One Timeframing occurrence either the market can balance(move side ways) near the Onetimeframe zone or mean revert. One Timeframing is a very good visual concept for a day timefram traders perspective. The following One Timeframing Indicator and Amibroker Exploration provides onetimeframing indication with red and green circles and indicate the presence of one timeframing visually. The afl code looks for a minimum of 4 consecutive candles for the occurance of onetimeframe activity.

One Timeframing Amibroker Exploration Code

https://gist.github.com/26dfd763c88d645bb2f5

Download One Timeframing Amibroker Exploration

Note : we are interested only in consecutive candles whereas the text books and the internet reference might differ as many consider inside bar which still not breaking the previous bar high/low and making higher high or lower low also as a part of One Timeframing.

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.

AllinOneAlerts – Amibroker Alerts Module for Algomojo Users

AllinOneAlerts is one of the most important and most requested modules is to bring all sorts of alerts with few lines of coding efforts....
Rajandran R
58 sec read

[Free Webinar] RBI Policy Announcement – Live Market Profile…

Learn to understand the intraday nuances and how to use market profile on an event day like the RBI Policy announcement. How to take...
Rajandran R
13 sec read

Stop and Reverse Cover Orders/Bracket Orders – Automated Chart…

Bracket Order and Cover Order are multi-legged orders which come with default protection with stop loss with reasonable intraday leverage. This tutorial focus...
Rajandran R
11 min read

9 Replies to “One Timeframing and Amibroker Exploration Code”

  1. PlotShapes(Ref(shapes,1),Ref(color,1),0,Ref(offset,1),-12,0);

    error 16 throws – Too many arguments

    I have reviewed the AFL function reference and it looks correct syntax only. Unable to fix the bug.

    Please solve it.

  2. please explain me :- can this AFL( one timeframing ) be useful for charts showing EOD candles?
    i am using amibroker 5.9

Leave a Reply

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