Printing Price that a signal fires at on the chart - NinjaTrader Programming | futures io social day trading
futures io futures trading


Printing Price that a signal fires at on the chart
Updated: Views / Replies:2,079 / 5
Created: by mainstream 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
 

Printing Price that a signal fires at on the chart

  #1 (permalink)
Elite Member
Chicago, IL
 
Futures Experience: Master
Platform: Kinetick Ninja Trader <7>
Broker/Data: Ninja & IB
Favorite Futures: YM & Equities & Options & Mutual Funds
 
Posts: 174 since Jun 2010
Thanks: 56 given, 82 received

Printing Price that a signal fires at on the chart

How would you print on the screen the exact price that a signal fires. Like if 5 crosses above 20 at 1235. How do I put the "1235" on the chart above the bar that triggers the trade?

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
Calcutta, India
 
Futures Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 259 received



mainstream View Post
How would you print on the screen the exact price that a signal fires. Like if 5 crosses above 20 at 1235. How do I put the "1235" on the chart above the bar that triggers the trade?

well your query is not very clear, but what i understood is it will be Close[0]

for example if your code is if Stochastics crosses 80 then draw an string (DrawText) below the bar bar low then the code will look like

 
Code
DrawText("tag",Close[0].ToString(),0,Low[0],Color.Blue);

Reply With Quote
The following user says Thank You to bukkan for this post:
 
  #4 (permalink)
Elite Member
las vegas
 
Futures Experience: Intermediate
Platform: Sierra Chart
Broker/Data: Velocity/IB
Favorite Futures: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 836 received


mainstream View Post
How would you print on the screen the exact price that a signal fires. Like if 5 crosses above 20 at 1235. How do I put the "1235" on the chart above the bar that triggers the trade?


Essentially you are trying to plot the value of 20, so the code below will plot the value of the 20 on the chart. The problem is that it will only work correctly with COBC = True. If you want it to plot in real time, the code below will put it there if the condition is true, but it won't remove it if the condition becomes false during the same bar. I haven't figured out how to do that, maybe a good programmer here could explain how to do that.
If(Close[0] > EMA(20)[0] && Close[1] < EMA(20)[1]

{double MAValue = Math.Round(EMA(20),2);
string MAoutput = MAValue.ToString();

DrawText(CurrentBar.ToString() + "BarSize",MAoutput,0,High[0]+5*TickSize,Color.Black);}

Reply With Quote
 
  #5 (permalink)
Elite Member
Athens - Greece
 
Futures Experience: Intermediate
Platform: Metastock
 
Posts: 75 since Jul 2010
Thanks: 202 given, 32 received

Maybe like this

Hi to All,
This is something i am trying to find .... long time ago. If i can interprete our friend "mainstream" is that:
Assuming we are viewing DAX and we have plotted two (2) moving averages, one is 5 periods Moving Average and the other is 20 periods MA. Now supose we see Price (C)= 7032 , MovAv_5= 7030 and MovAv_20= 7028, the question is 1)How To SHOW and 2)How To Calculate following convention : What should be next comming Price that MovAv_5 = MovAv_20 and Show it on the screen.
Regards
Dimitri

Reply With Quote
 
  #6 (permalink)
Elite Member
Chicago, IL
 
Futures Experience: Master
Platform: Kinetick Ninja Trader <7>
Broker/Data: Ninja & IB
Favorite Futures: YM & Equities & Options & Mutual Funds
 
Posts: 174 since Jun 2010
Thanks: 56 given, 82 received

I guess jargon doesn't translate well.

If 5 ema crosses 20 ema

meaning the 5 and the 20 have the instance the cross occurs, and the instance occurs at ES 1235.

Plot 1235 above the bar when it occurs. Or at the close of the bar.

It's nice to have arrows. It's nicer to have the value of the arrow, Nes Pas.

Reply With Quote

Reply



futures io > > > > > Printing Price that a signal fires at on the chart

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Price By Volume Chart - PBV trendisyourfriend NinjaTrader 7 December 7th, 2012 03:50 PM
Titanium Metals Stock Price TIE chart imnewtrader Commodities Futures Trading 0 March 5th, 2011 11:27 AM
Bernanke Fires Back at Criticism over Easy Policy Quick Summary News and Current Events 0 November 19th, 2010 04:50 AM
Nokia Fires CEO amid Fierce Competition Quick Summary News and Current Events 0 September 10th, 2010 04:00 AM
Alarming a price on a chart Todd The Elite Circle 13 February 16th, 2010 09:57 AM


All times are GMT -4. The time now is 12:47 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-11 in 0.11 seconds with 19 queries on phoenix via your IP 107.20.115.174