gets Bar Time from differents charts - Sierra Chart Programming | futures io social day trading
futures io futures trading


gets Bar Time from differents charts
Updated: Views / Replies:580 / 3
Created: by crazybears Attachments:0

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 90,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.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

gets Bar Time from differents charts

  #1 (permalink)
Elite Member
Alesia E.U.
 
Futures Experience: Intermediate
Platform: Sierra chart
Favorite Futures: Futures
 
Posts: 166 since Feb 2011
Thanks: 139 given, 109 received

gets Bar Time from differents charts

someone can give me some hint how can i retrieve the start time of bars from others charts
and compare them with the bars time of the chart where i apply the study ?
e.g on a renko or range chart each bar has different open time,
i would compare it with the time taken from other instruments
e.g compare the time of opening bar of ES TF NQ YM

thanks
Max

Reply With Quote
 
  #2 (permalink)
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.

 
  #3 (permalink)
Elite Member
Haifa Israel
 
Futures Experience: Beginner
Platform: sierra chart
Broker/Data: Optimus Trading Group/Rithmic
Favorite Futures: es
 
Posts: 90 since Apr 2012
Thanks: 49 given, 65 received


There probably is an easier solution but here is what I have on mind:

Lets call the charts from which you want to get the bars start time Source Charts and lets call the chart that will get those values the Destination Chart.

On the Source charts you will have to add a study that will store the time values in persistent variables, for an example you can use something like this:

int& Hour= sc.PersistVars->i1;
int& Minute= sc.PersistVars->i2;
int& Second= sc.PersistVars->i3;

SCDateTime DTV = sc.BaseDateTimeIn[sc.Index];
DTV.GetTimeHMS(Hour, Minute, Second);



Then, on the Destination chart you will have another study that will get those time values using:

const s_sc::s_PersistentVariables * p_PersistVars = sc.GetStudyPersistentVariablesFromChartUsingID( Source.GetChartNumber(), Source.GetStudyID());

Something like this:

CSFExport scsf_DestinationStudy(SCStudyGraphRef sc)
{
SCInputRef Source = sc.Input[0];

if (sc.SetDefaults)
{
Source.Name = "Source_Chart_&_Study_Numbers";// Use those inputs to choose the source study on the source chart.
Source.SetChartStudyValues(1,0);

return;
}


const s_sc::s_PersistentVariables * p_PersistVars = sc.GetStudyPersistentVariablesFromChartUsingID( Source.GetChartNumber(), Source.GetStudyID());

int Hour = p_PersistVars->i1;
int Minute = p_PersistVars->i2;
int Second = p_PersistVars->i3;


}


The sc.GetStudyPersistentVariablesFromChartUsingID function creates a link between the corresponding persistent variables on the source study and the destination study so that each time the values of Hour, Minute and Second change on the source chart they will immediately be updated on the destination chart with the values from the source.

This is documented here :
ACSIL Interface Members - Functions - Sierra Chart


I hope this helps.

Reply With Quote
The following 2 users say Thank You to yonatan for this post:
 
  #4 (permalink)
Elite Member
Alesia E.U.
 
Futures Experience: Intermediate
Platform: Sierra chart
Favorite Futures: Futures
 
Posts: 166 since Feb 2011
Thanks: 139 given, 109 received

Hi Yonatan

thanks for help

Reply With Quote

Reply



futures io > > > > > gets Bar Time from differents charts

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why Tick Charts instead of Time Based Charts? or other chart types Fadi Traders Hideout 53 October 12th, 2017 11:18 AM
Book Discussion: Reading Price Charts Bar by Bar by Al Brooks cunparis Traders Hideout 530 October 19th, 2016 08:45 PM
Tick Charts vs Range Charts vs Time Charts sketchbo Traders Hideout 3 March 25th, 2014 10:26 AM
Image:al brooks reading price charts bar by bar.jpg Big Mike Trading Wiki Images 0 July 1st, 2010 09:00 PM
Enter to win: Autographed copies of Al Brook's Reading Price Charts Bar by Bar Book Big Mike Feedback and Announcements 51 June 29th, 2010 04:42 PM


All times are GMT -4. The time now is 07:21 AM.

Copyright © 2017 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
Page generated 2017-12-16 in 0.08 seconds with 19 queries on phoenix via your IP 54.226.113.250