ADE and Intrabarpersist Question? - futures io
futures io futures trading



ADE and Intrabarpersist Question?


Discussion in EasyLanguage Programming

Updated
    1. trending_up 1,565 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 3 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

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

 
Search this Thread
 

ADE and Intrabarpersist Question?

(login for full post details)
  #1 (permalink)
France
 
 
Posts: 10 since Apr 2010
Thanks: 7 given, 0 received

Hi,
I am using ADE to transfer an indicator information from a daily chart to an intraday chart. That's ok for this

In my 5min Chart, i have the information (the value of my indicator) for the last daily bar closed.
Is it possible to have the information for this last bar even if the bar isn't closed?

for exemple, today (01 Oct 2012) i have the daily indicator value for the last bar closed (28 Setp 2012)
I would like to have the daily indicator value for the last bar even if this bar isn't closed (01 Oct 2012)

is it possible?
Do i have tu use IntrabarPersist? ... How ?
here is the indicator

// NR_ADE_Sender indicator

 
Code
Vars:              
Class("DailyAvg") , AvgMap(MapSN.New), MA(0);
   
// CACULATE MOVING AVERAGE
MA = AverageFc(c,50);

//Store the data we are interested in into AvgMap
Value1 = MapSN.Put(AvgMap,"DailyAvg", MA);

//Use ADE to store for current  symbol and bar interval
Value1 = ADE.PutBarinfo(class, GetsymbolName, ADE.Barinterval, ADE.BarID, AvgMap);

//Plot daily average on daily chart
Plot1(MA, "Av",  DarkBlue);
// NR_ADE_Reciever indicator

 
Code
Vars: 
   Interval(0), Class("DailyAvg"), AvgMap(Mapsn.new),
   value1(0), value2(0);

value1 = Ade.GetBarInfo(Class, GetSymbolName, Interval, Ade.BarID, AvgMap);
value2 = MapSN.Get(AvgMap, "DailyAvg");

Plot1(value2, "DailyAvg", Darkblue);
In screenshots the 2 indicators are "update on every tick

thank you for your help

Nuno

Attached Thumbnails
Click image for larger version

Name:	MultiCharts1.png
Views:	51
Size:	147.9 KB
ID:	90781   Click image for larger version

Name:	Format Study NR_ADE_Reciver.jpg
Views:	48
Size:	240.4 KB
ID:	90783  
Attached Files
Register to download File Type: pla ade_test.pla (84.9 KB, 6 views)
Reply With Quote

Can you help answer these questions
from other members on futures io?
Work with historical tcks data on MUltichart NET PowerLa …
MultiCharts
Cross border fund flows / fx correlations
Treasury Notes and Bonds
Webinar: Finding your own way in trading w/Adam Grimes
The Elite Circle
SimplerOptions
Trading Reviews and Vendors
Where can I find Cost to Trade and Book Depth info?
Emini and Emicro Index
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Selling Options on Futures?
109 thanks
Battlestations: Show us your trading desks!
108 thanks
Rank your Futures vs Stocks trading priority
55 thanks
Want your NinjaTrader indicator created, free?
27 thanks
Whats this confusion with margins?
21 thanks
 
(login for full post details)
  #3 (permalink)
London
 
 
Posts: 118 since Mar 2010
Thanks: 42 given, 58 received


it can't be done
don't waste your time
use something else

Reply With Quote
 
(login for full post details)
  #4 (permalink)
France
 
 
Posts: 10 since Apr 2010
Thanks: 7 given, 0 received

thank you Bimi

is there another solution to save the results of the current bar until it is complete ?

Nuno

Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > ADE and Intrabarpersist Question?


Last Updated on October 2, 2012


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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