Volume Breakdown / Cumulative Delta Momentum Print indicator - text float problem
Welcome to futures io.
(If you already have an account, login at the top of the page)
futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.
At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.
With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.
We are fundamentally different than most other trading sites:
We are here to help. Just let us know what you need.
We work extremely hard to keep things positive in our community.
We do not tolerate rude behavior, trolling, or vendors advertising in posts.
We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
We expect our members to participate and become a part of the community. Help yourself by helping others.
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.
Volume Breakdown / Cumulative Delta Momentum Print indicator - text float problem
Alright so I have created a VB style print that plots in text the cumulative delta momentum (single bar value) on the bottom of the chart. However there is a slight problem, the float only works for bars created real time. other wise it just puts it some displacement from the bar. I want it to float all the time. But none the less this indicator works, its only the aesthetics that are messed up.
Basically you put cumulative delta as data 1/2/3, use data select input to set that. then it will plot at the bottom of your candle chart the delta of that bar.
If someone could tell me how to float historical text objects so they all line up that would be awesome
note:
if i do last bar and float them with a last bar flag. then it wont display historical values but all of them will be lined up as only bars the platform was here for are printed.
Quick Summary
Quick Summary Post
Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.
this will probably take a little bit of programming.
When you use RecalcLastBarAfter, aiHighestDispValue and aiLowestDispValue that are used within the Text_Float function to return the highest and
lowest value for the currently displayed screen, will work on historical bars, too.
This alone doesn't help you of course, as you'd need to access all text IDs on the currently visible chart screen. This probably needs two steps, first store the barnumber for each bar
in a map (or array) using the datetime as map key and store each text ID within a map (or an array, but I'd suggest using a map and the ELCollections.DLL) and using the barnumber as the map key.
In a next step you'd have to get the datetime for the bar most left on the screen using aiLeftDispDateTime and the one on the right using aiRightDispDateTime. Use these two values to retrieve the barnumber
for the most left and most right bars and with these loop through the first map, retrieve each text ID and change the text location to the value of your choice.
Unfortunately I am not sure if there is something simpler, but the above should work. Although it might be too much work just for the aesthetics.
Regards,
ABCTG
The following user says Thank You to ABCTG for this post:
Thanks for the indi. however I am having problems with the switch from historical to real time. You can see here that there is a gap of values. They appear on the real time candle but then gap until the historical time series.
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).
Could you post a complete chart with the data2/3 not hidden? Could it be that you have different settings in data1 and data2 (resolution, sessions, time zone)?
As i have IQFeed and the code works, it seems that one problem is that at CQG the charts are not fully synchronized. Your upper chart shows a timestamp of 14:04:06.050 and both on the bottom a timestamp
of 14:05:21.093.
So barstatus (1) = 2 could be different to barstatus (3) = 2 .
Try to change the both lines with
if barstatus (dataselect ) = 2 then
to
if barstatus (1 ) = 2 then
The following user says Thank You to SPMC for this post: