Draw a arraw in "all charts" of a same instrument - NinjaTrader Programming | futures io social day trading
futures io futures trading


Draw a arraw in "all charts" of a same instrument
Updated: Views / Replies:421 / 3
Created: by pcomm69 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
 

Draw a arraw in "all charts" of a same instrument

  #1 (permalink)
Elite Member
paris france
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Continuum
Favorite Futures: gold & crude light
 
pcomm69's Avatar
 
Posts: 50 since Oct 2011
Thanks: 13 given, 4 received

Draw a arraw in "all charts" of a same instrument

Hi,

To draw arraw the syntax is :
DrawArrowUp("tag6", false,0,Closes[0][0], Color.Yellow);

I have an indicator on a graph with made calcul and draw an arrow

How can I report automaticly the same draw il "all charts" of the same instrument ?
(for instance this charts are open : UT 2, UT 15, 100 Ticks)

Thanks
P.


Last edited by pcomm69; May 12th, 2015 at 11:39 AM.
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
Wrocław, Poland
 
Futures Experience: Intermediate
Platform: NinjaTrader, Racket
Favorite Futures: Ockham's razor
 
gregid's Avatar
 
Posts: 651 since Aug 2009
Thanks: 321 given, 605 received


You could achieve this with some static object in your indicator, place this indicator on every chart you want to have it drawn onto and in the indicator monitor the content of the indicator.
So in the simplest form if you would have
 
Code
private bool isMaster;
private static double CommonPriceLevel;
private double LastArrowPrice;
the static object will be common across instances of the indicator than in your indicator you would have a condition like:
 
Code
if (LastArrowPrice != CommonPriceLevel)
{
    DrawArrowUp("tag6", false,0,CommonPriceLevel, Color.Yellow);
    LastArrowPrice = CommonPriceLevel;
}
Assuming only one instance would give signals so this one would use:
 
Code
if (isMaster)
{
    if(someConditionIsMet)
    {
        CommonPriceLevel = Closes[0][0];
    }
}
You can play with this idea and use other static objects, eg. List, Dictionary, struct, class, etc. that can hold more info.

Reply With Quote
The following user says Thank You to gregid for this post:
 
  #4 (permalink)
Elite Member
paris france
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Continuum
Favorite Futures: gold & crude light
 
pcomm69's Avatar
 
Posts: 50 since Oct 2011
Thanks: 13 given, 4 received

Hi Gregid

Thank you so much
You are like the "cavalery", just in time with the good answer
I don t know the static object, but the idea smel good
My brain say "Gratte Gratte", give me time to work that
I will give you news

Thanks a lot

Pierre

Reply With Quote

Reply



futures io > > > > > Draw a arraw in "all charts" of a same instrument

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
Sal Starzun's Trading systems info on "Eclipse" and "Moon" Naples Trading Reviews and Vendors 2 January 7th, 2015 08:56 AM
Saxo Bank's 10 "Outrageous Predictions" For "2012: The Perfect Storm" Quick Summary News and Current Events 0 December 17th, 2011 08:10 PM
Fukushima: "China Syndrome Is Inevitable" ... "Huge Steam Explosions", or "Nuclear Bo Quick Summary News and Current Events 0 November 22nd, 2011 02:50 AM
How to change "Stop Loss" and "Take Profit" in "shElderImpulse" Strategy javed759 NinjaTrader 1 November 1st, 2011 11:44 PM
"mid", "buy", "sell" volumes lokgotkent Traders Hideout 6 September 30th, 2011 02:24 PM


All times are GMT -4. The time now is 10:58 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-13 in 0.08 seconds with 19 queries on phoenix via your IP 54.227.51.103