Amibroker Questions - AmiBroker | futures io social day trading
futures io futures trading

Amibroker Questions
Updated: Views / Replies:697 / 1
Created: by fxtraders Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Thread Tools Search this Thread

Amibroker Questions

  #1 (permalink)
connaught, DL
Trading Experience: Intermediate
Platform: Ninjatrader,amibroker
Favorite Futures: future,currency
Posts: 11 since Sep 2016
Thanks: 1 given, 0 received

Amibroker Questions

Some questions don't deserve separate thread hence the title ..

Higher timframe overlay to lower timeframe is quite common..
I haven't seen Lower timeframe to higher timeframe in amibroker.. so the question .

Daily candlestick chart overlaid on the Weekly price chart ( Opposite of Normal Higher to lower timeframe overlaid) doesn't work.

weekly candlestick chart overlaid on line daily price chart

1. Open your Daily Chart .

2. Use Code:
wo = TimeFrameGetPrice( "O", inWeekly, 0, expandPoint ); 
wh = TimeFrameGetPrice( "H", inWeekly, 0, expandPoint ); 
wl = TimeFrameGetPrice( "L", inWeekly, 0, expandPoint ); 
wc = TimeFrameGetPrice( "C", inWeekly, 0, expandPoint ); 

PlotOHLC( wo, wh, wl, wc, "Weekly Close", colorWhite, styleCandle ); 
Plot( Close, "Daily Close", colorBlue );
It overlay Weekly chart on Daily



If you want to overlay Daily Timeframe Chart on Weekly Chart .. (Lower timeframe on higher timeframe )

What Code will you use it ??

1. Open Weekly timeframe

2. Use
ddo = TimeFrameGetPrice( "O", inDaily, 0, expandPoint ); 
dh = TimeFrameGetPrice( "H", inDaily, 0, expandPoint ); 
dl = TimeFrameGetPrice( "L", inDaily, 0, expandPoint ); 
dc = TimeFrameGetPrice( "C", inDaily, 0, expandPoint ); 

PlotOHLC( ddo, dh, dl, dc, "Daily Close", colorWhite, styleCandle ); 
Plot( Close, "Daily Close", colorBlue ); 
It won't work.

If you would like to answer after understanding question, Keep post code.

( If anything need to get changed as per rules .. I will change it , kindly let me know)

Last edited by fxtraders; December 29th, 2016 at 09:21 AM.
Reply With Quote
  #2 (permalink)
connaught, DL
Trading Experience: Intermediate
Platform: Ninjatrader,amibroker
Favorite Futures: future,currency
Posts: 11 since Sep 2016
Thanks: 1 given, 0 received

Question 2: User Defined function

It maybe possible either It doesn't print range(i.e. 1,2,3 under candle as per condition) by user defined function or .. maybe i'm missing something in this .

SetBarsRequired( -2, -2 );
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );

function tf_ma(e,d)
global i;
for (i=e; i<d; i++)
  tf = i * in1Minute;
    meme =MA(C, 15);
 m = TimeFrameExpand(meme,tf,expandPoint);
 for( b = 0; b < BarCount; b++ ) {
      //PlotText(" " , b, L[ b ], colorRed, colorDefault, -12 );
      if(m[b])  PlotText(" "+(i), b, L[b]-1-(i), colorCustom1);

It isn't printing any range while using User Defined Function .

It does print range without function .

I've seen afl that use user defined function , but not range of something..


Last edited by fxtraders; January 1st, 2017 at 07:29 AM.
Reply With Quote


futures io > > > > Amibroker Questions

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now

Thanks for everything -- $250 in Amazon Gift Cards ready to give away

Right now

Journal in July -- over $2,500 in prizes w/NinjaTrader


Similar Threads
Thread Thread Starter Forum Replies Last Post
Amibroker for Forex life100 AmiBroker 1 June 13th, 2015 07:46 AM
Why do you use AmiBroker? Big Mike AmiBroker 18 March 8th, 2015 01:38 PM
need Amibroker afl venkatbabu AmiBroker 2 May 29th, 2014 08:31 AM
Amibroker no Brasil Crispim Portuguese Traders 10 May 15th, 2014 05:49 PM
Beginners Questions (let the silly questions flow) Hiohn Traders Hideout 2 October 27th, 2013 11:07 PM

afl, amibroker, barcount, code, ohlc, size, tf, timeframe

All times are GMT -4. The time now is 04:41 PM. (this page content is cached, log in for real-time version)

Copyright © 2019 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432 WhatsApp Business,
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts