NexusFi: Find Your Edge

Home Menu


ADE and Intrabarpersist Question?

Discussion in EasyLanguage Programming

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

Search this Thread

ADE and Intrabarpersist Question?

(login for full post details)
  #1 (permalink)
Posts: 10 since Apr 2010
Thanks Given: 7
Thanks Received: 0

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

Class("DailyAvg") , AvgMap(MapSN.New), MA(0);
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

   Interval(0), Class("DailyAvg"), AvgMap(,
   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


Attached Thumbnails
Click image for larger version

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

Name:	Format Study NR_ADE_Reciver.jpg
Views:	170
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 NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
Trader Dale [email protected] or Scammer Dale
Trading Reviews and Vendors
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Request for MACD with option to use different MAs for fa …
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Tao te Trade: way of the WLD
30 thanks
Supertradersams Thread Journal on NQ/MNQ
25 thanks
Deaddogs Stock Trading
23 thanks
GFIs1 1 DAX trade per day journal
22 thanks
Daytrading ES & NQ
13 thanks

(login for full post details)
  #3 (permalink)
Posts: 118 since Mar 2010
Thanks Given: 42
Thanks Received: 58

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

Reply With Quote
(login for full post details)
  #4 (permalink)
Posts: 10 since Apr 2010
Thanks Given: 7
Thanks Received: 0

thank you Bimi

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


Reply With Quote

Last Updated on October 2, 2012

© 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