NexusFi: Find Your Edge


Home Menu

 





Double bottom and Double top with DIV


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one benbrooke with 18 posts (1 thanks)
    2. looks_two cory with 8 posts (3 thanks)
    3. looks_3 max-td with 2 posts (0 thanks)
    4. looks_4 vast with 2 posts (0 thanks)
    1. trending_up 21,845 views
    2. thumb_up 5 thanks given
    3. group 12 followers
    1. forum 36 posts
    2. attach_file 15 attachments




 
Search this Thread

Double bottom and Double top with DIV

  #31 (permalink)
 
benbrooke's Avatar
 benbrooke 
Dallas,tx
 
Experience: Advanced
Platform: Market Delta
Broker: Velocity /TT
Trading: ES
Posts: 430 since Aug 2009
Thanks Given: 216
Thanks Received: 490

Cory

can you tell me how can i add text to the bottom left on my chart
i will like to add 2-3 lines of instruction and i have no clue how to add text

thanks

Ben

Keep on sowing your seed, for you never know which will grow -- perhaps it all will.

-- Albert Einstein
Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
Exit Strategy
NinjaTrader
REcommedations for programming help
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
26 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
20 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #32 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


benbrooke View Post
Cory

can you tell me how can i add text to the bottom left on my chart
i will like to add 2-3 lines of instruction and i have no clue how to add text

thanks

Ben

declare your font (make sure it's a valid font in your window font folder)

 
Code
      #region Variables
...
		private Font 		fp = new Font("Arial", 10, GraphicsUnit.Point);
		private Color		fColor			= Color.Navy;
		private TextPosition tPosition = TextPosition.BottomRight;
	

...
        #endregion
 
Code
				String text0 = String.Format(@"  first line goes here   ");
				String text1 = String.Format(@"  second line               ");
				String text2 = String.Format(@"  3rd line                    ");

DrawTextFixed("mytext", text0+"\n"+text1+"\n"+text2+"\n ", tPosition, fColor, fp, Color.Empty, Color.Empty, 100);
more displaying tip

Reply With Quote
Thanked by:
  #33 (permalink)
 
benbrooke's Avatar
 benbrooke 
Dallas,tx
 
Experience: Advanced
Platform: Market Delta
Broker: Velocity /TT
Trading: ES
Posts: 430 since Aug 2009
Thanks Given: 216
Thanks Received: 490


As always you are the best

Thank so much

Ben

Keep on sowing your seed, for you never know which will grow -- perhaps it all will.

-- Albert Einstein
Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #34 (permalink)
 
benbrooke's Avatar
 benbrooke 
Dallas,tx
 
Experience: Advanced
Platform: Market Delta
Broker: Velocity /TT
Trading: ES
Posts: 430 since Aug 2009
Thanks Given: 216
Thanks Received: 490

Cory ,

can you show me please how to add text to an indicator (something like the text in the d9)

thanks

ben

Keep on sowing your seed, for you never know which will grow -- perhaps it all will.

-- Albert Einstein
Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #35 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


benbrooke View Post
Cory ,

can you show me please how to add text to an indicator (something like the text in the d9)

thanks

ben

if you check d9C here


you will see

DrawOnPricePanel = false;

this how you keep the text not draw on price panel

then you can issue

DrawOnPricePanel = true;

to draw on price panel again

to drawtext you always have to know the y axis value and the x (which bar from the most current bar)) value so that you can position your text,
for exmp:
DrawText("V1", true, "de ", 40, 0, 0, Color.White, textFont, StringAlignment.Center, Color.Empty, Color.Empty, 10) ;

x = 40 = 40 bar back, and y = 0;

ninja ref.
https://www.ninjatrader-support.com/HelpGuideV6/helpguide.html?DrawText

Reply With Quote
Thanked by:
  #36 (permalink)
 
rainbowchaser's Avatar
 rainbowchaser 
Fort Lauderdale, Florida. USA
 
Experience: Beginner
Platform: NT
Broker: CQG
Trading: YM,CL
Posts: 140 since Mar 2011
Thanks Given: 543
Thanks Received: 63


benbrooke View Post
Cory ,

can you show me please how to add text to an indicator (something like the text in the d9)

thanks

ben

Hi Ben, what happened to this thread..it sounded promissing. How did it with the Div?
Regards

Reply With Quote
  #37 (permalink)
 redpr 
London, UK
 
Experience: Advanced
Platform: NT
Broker: Zen
Trading: ES, YM, CL
Posts: 13 since Jan 2010
Thanks Given: 14
Thanks Received: 1

Yes hello, this was looking good,,,

Reply With Quote




Last Updated on December 6, 2011


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts