NexusFi: Find Your Edge


Home Menu

 





Intraday Max/Min in Ninjascript


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
 nicanorbabula 
Torino Italy
 
Experience: Beginner
Platform: NinjaTrader, MultiCharts
Broker: AMP/CQG + OEC/OEC
Trading: CL
Posts: 14 since Oct 2014
Thanks Given: 5
Thanks Received: 4

Hi all,


I want to draw a little arrow on every bar that is above the intraday Max or below the intraday Min on a 10' or 5' chart. How would you do it with NinjaScript?

I am new to Ninjascript, but old to progarmming

Thanks!


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
UMA Votes Tonight: Polymarkets $80M Strategy Bitcoin Bat …
Prediction Markets & Event Contracts
Hormuz Surges From 14% to 26.5% Intraday as Irans Answer …
Prediction Markets & Event Contracts
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
April 2026 Jobs Report: +115k vs +65k Expected
Traders Hideout
Fed Hike Odds at 57% After Warsh: England Surges 12.9%, …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
15 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117



nicanorbabula View Post
Hi all,


I want to draw a little arrow on every bar that is above the intraday Max or below the intraday Min on a 10' or 5' chart. How would you do it with NinjaScript?

I am new to Ninjascript, but old to progarmming

Thanks!

1. Download the SessionPivots from the download section of the forum.

2. Edit the anaCurrentDayOHLV42 indicator.

3. Optional. Replace "<=" and ">=" signs in lines 696, 701, 718, 723, 754 and 759 with ">" and "<" signs. This may invert the Fibonacci retracements after a double high or low.

4. Insert DrawArrowUp() or DrawArrowDown() commands after lines 762, 757, 726, 721, 704, 699. Start with line 762 (backwards).

5. The arrows will now indicate when the current bar breaks through the current daily high, or when it breaks through the current daily low.


You will be able to use the indicator with the full session or the regular session.


Reply With Quote
Thanked by:




Last Updated on November 28, 2014


© 2026 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 - Downloads - Top
no new posts