NexusFi: Find Your Edge


Home Menu

 





Add arrow to any alerts in indicators


Discussion in NinjaTrader

Updated
    1. trending_up 2,888 views
    2. thumb_up 2 thanks given
    3. group 1 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread

Add arrow to any alerts in indicators

  #1 (permalink)
 emini_Holy_Grail 
Dallas,TX
 
Experience: Intermediate
Platform: NinjaTrader, OpenQuant
Broker: Zaner/Zen Fire
Trading: ES,6E,6B,GC,CL
Posts: 597 since Nov 2009
Thanks Given: 176
Thanks Received: 126

how to just add an arrow when signals crossover or cross 0 in any of your indicators?
do we need to be coder to this. if someone knows, can you post lines of code here?

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
How to apply profiles
Traders Hideout
Increase in trading performance by 75%
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
GFIs1 1 DAX trade per day journal
15 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
My NQ Trading Journal
12 thanks
  #3 (permalink)
 
tellytub's Avatar
 tellytub 
london uk
 
Experience: Beginner
Platform: NinjaTrader
Broker: Zen-Fire
Trading: Stocks
Posts: 410 since Jun 2009
Thanks Given: 333
Thanks Received: 121



emini_Holy_Grail View Post
how to just add an arrow when signals crossover or cross 0 in any of your indicators?
do we need to be coder to this. if someone knows, can you post lines of code here?

For a simple crossover you can do:

if (CrossAbove(FastPlot, SlowPlot, 1))
{
DrawArrowUp("up arrow" + CurrentBar, false, 0, SlowPlot[0] - 2 * TickSize, Color.Green);
}
else if (CrossBelow(FastPlot, SlowPlot, 1))
{
DrawArrowDown("down arrow" + CurrentBar, false, 0, SlowPlot[0] + 2 * TickSize, Color.Red);
}

Hope this helps?

Reply With Quote
Thanked by:




Last Updated on August 29, 2010


© 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