![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Jan 2010
Posts: 73
Thanks: 11
Thanked 1 time in 1 post
|
Hi,
Using Strategy Analyzer I am unable to print "up arrows" on the [Chart] tab. The goal is to help me quickly identify some market situations, not simulate entries and stops results. Is this achievable? Conditions and Alerts, Set1, "When the following are true": Line1: Low[2] > Low[1] Line2: Low[1] > Low[0] Do the following: DrawArrowUP("My up arrow" + CurrentBar, false, 0,0, Color.Lime) When I use "Order Management" actions instead of "DrawArrowUp" stuff does print on the Chart. Thanks for your help. - MarcusPlexus |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 89 times in 81 posts
|
MarcusPlexus, you can try adding Print() statements to your "Do the following" sections to make sure the code blocks are being executed. The Print() command can be found under the Misc section as "Print to output window".
Austin
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
NinjaTrader Customer Service
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 89 times in 81 posts
|
Actually, try specifying a value other than 0 for the y location of the arrow, like Low[0] or something like that. I just noticed this after I posted my first reply. The arrow is being drawn, you just can't see it because it is at a price of 0 on the chart.
Austin
NinjaTrader Customer Service |
|
|
|
|
|
#4 |
|
Member
Join Date: Jan 2010
Posts: 73
Thanks: 11
Thanked 1 time in 1 post
|
That was it! Many thanks!
|
|
|
|
![]() |
| Tags |
| plot, strategy analyzer |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| arrows from strategy on chart | add000 | Charting | 3 | 06-03-2010 09:34 AM |
| Bug: Paint issues with strategy arrows when using Global cursor | jdfagan | Version 7 Beta General Questions & Bug Reports | 7 | 03-18-2010 02:24 PM |
| Strategy arrows on chart thus no strategy is running | poseidon_sthlm | Strategy Development | 2 | 01-15-2010 10:35 AM |
| Plotting SMA on Market Analyzer | designer | Market Analyzer | 3 | 11-25-2008 06:30 AM |
| Strategy not showing arrows and audio alerts | Viper3 | Strategy Development | 1 | 08-06-2007 11:16 AM |