NexusFi: Find Your Edge


Home Menu

 





Need Amibroker Afl


Discussion in Platforms and Indicators

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




 
Search this Thread

Need Amibroker Afl

  #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?
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
Deepmoney LLM
Elite Quantitative GenAI/LLM
NexusFi Journal Challenge - April 2024
Feedback and Announcements
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
38 thanks
NexusFi site changelog and issues/problem reporting
27 thanks
GFIs1 1 DAX trade per day journal
18 thanks
The Program
18 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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts