NexusFi: Find Your Edge


Home Menu

 





Need Amibroker Afl


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one venkatbabu with 2 posts (0 thanks)
    2. looks_two occasionallurker with 2 posts (3 thanks)
    3. looks_3 bob303 with 1 posts (1 thanks)
    4. looks_4 aryan advisory with 1 posts (0 thanks)
    1. trending_up 3,291 views
    2. thumb_up 4 thanks given
    3. group 4 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
venkatbabu
coimbatore,Tamilnadu,India
 
Posts: 6 since Oct 2013
Thanks Given: 7
Thanks Received: 0

I need Amibroker afl for a candles price average (High+Low+Close) at specific time
For example:
In 10 min timeframe I want average price of candle which appeared at 3.00 PM, also with volume
Thanks in advance.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
S&P 500 Holds the Line: No Fast Track for SpaceX, Op …
Stocks and ETFs
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
April 2026 Jobs Report: +115k vs +65k Expected
Traders Hideout
Without Pulisic, USA 61.5% Live vs. Australia -- France …
Prediction Markets & Event Contracts
UCL Final Kicks Off at Noon ET: PSG at 56.5% as Iran May …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 thanks
  #2 (permalink)
bob303
paris France
 
Posts: 5 since Mar 2014
Thanks Given: 1
Thanks Received: 1

// open the windows interpretation in the menu Windows



Datedemand = ParamTime( " time :", "030000", format = 0 );
pricedemand = ValueWhen(TimeNum() == Datedemand ,(H+L+C)/3);
Volumedemand = ValueWhen(TimeNum() == Datedemand, V );

printf( "Average price :"+ NumToStr(SelectedValue(pricedemand),1.3) + " \n" +"Volume :"+ NumToStr(SelectedValue(Volumedemand),1.0) );


Reply With Quote
Thanked by:
  #3 (permalink)
 occasionallurker 
London UK
 
Posts: 18 since Mar 2014


Your code example has some bugs and flaws.
This one is better.

 
Code
tn = TimeNum();

Timedemand = ParamTime( " time :", "03:00:00", format = 0 );

pricedemand = ValueWhen( tn == Timedemand , Avg );
Volumedemand = ValueWhen( tn == Timedemand, V );

printf( "Average price :%1.3f\nVolume :%1.0f", pricedemand, Volumedemand );


Reply With Quote
  #4 (permalink)
venkatbabu
coimbatore,Tamilnadu,India
 
Posts: 6 since Oct 2013
Thanks Given: 7
Thanks Received: 0

Thankyou for your kind reply, but the values are not ploting.


Reply With Quote
  #5 (permalink)
 occasionallurker 
London UK
 
Posts: 18 since Mar 2014


venkatbabu View Post
Thankyou for your kind reply, but the values are not ploting.

Printf prints in information window or commentary.
If you wanna plot then apply Plot() function.


Reply With Quote
  #6 (permalink)
 sumitalwar 
alwar rajasthan
 
Posts: 2 since Nov 2013

hi

any one has dhavin afl nifty pro 3.5 please pm me


Reply With Quote




Last Updated on April 9, 2014


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts