When using ADE to retrieve the variable value (number), we use the:
ADE.GetBarInfo()
Where the 3rd parameters need to align to ADE-Sender's time-frame.
In the ADE documentation, it only give the clues of daily, weekly, and monthly, as follow:
0 : day
-1 : weekly
-2 : monthly
It didn't specify if the bar's timeframe is hours, how should we return the parameter.
So for 5 days barInterval, how should we assign the parameter? I cannot do 0 * 5 days ....
Or say for 2 weeks time interval, I cannot do -1 * 2 weeks ...
ADE.GetBarInfo for day and week timeframe
- Polly MultiCharts
- Posts: 203
- Joined: 20 Jul 2022
- Has thanked: 1 time
- Been thanked: 55 times
Re: ADE.GetBarInfo for day and week timeframe
Hello rc76,
I am afraid, this question is beyond our tech support, because ADE is not our product.
I am afraid, this question is beyond our tech support, because ADE is not our product.
- rrams
- Posts: 128
- Joined: 10 Feb 2011
- Location: USA
- Has thanked: 7 times
- Been thanked: 70 times
- Contact:
Re: ADE.GetBarInfo for day and week timeframe
rc76,
I am not a spokesperson for ADE, but the GetBarInfo function is using the word "Interval" to mean a key that stores a map file. So even though seconds and quarter etc. charts are not explicitly supported; you can still store the map using the appropriate key that is generated from the ADE.BarInterval function of your sender signal on say a 2 day chart. Then retrieve the map info and use it on a 4 hour chart using zero as the Interval key (daily) from your receive signal.
I am not a spokesperson for ADE, but the GetBarInfo function is using the word "Interval" to mean a key that stores a map file. So even though seconds and quarter etc. charts are not explicitly supported; you can still store the map using the appropriate key that is generated from the ADE.BarInterval function of your sender signal on say a 2 day chart. Then retrieve the map info and use it on a 4 hour chart using zero as the Interval key (daily) from your receive signal.
Re: ADE.GetBarInfo for day and week timeframe
rrams,
Just a side question, do you aware whether it is possible to send data using ADE between PT and MC Charts? i.e. Retrieve PT equity performance or entry/exit signals of symbol and draw it on MC Chart?
Just a side question, do you aware whether it is possible to send data using ADE between PT and MC Charts? i.e. Retrieve PT equity performance or entry/exit signals of symbol and draw it on MC Chart?
- rrams
- Posts: 128
- Joined: 10 Feb 2011
- Location: USA
- Has thanked: 7 times
- Been thanked: 70 times
- Contact:
Re: ADE.GetBarInfo for day and week timeframe
Yes, it's literally called All Data Everywhere. However, you should instead use ElCollections whenever possible because it is slightly more supported. They both are for the purpose of importing data structures like lists and vectors between charts.
Re: ADE.GetBarInfo for day and week timeframe
I actually just tried to use ADE, with PT signal as sender, and MC Chart signal as receiver.
Unfortunately nothing comes through..
Have you actually got it working?
Unfortunately nothing comes through..
Have you actually got it working?