NexusFi: Find Your Edge


Home Menu

 





help adjusting drawing tool


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
 hoppy123 
orlando
 
Experience: Beginner
Platform: esignal
Trading: forex emini oil gas
Posts: 81 since Jan 2017
Thanks Given: 26
Thanks Received: 64

Have this drawing tool . It draws a rectangle box and then draws 2 lines above 1st 200% ext 2nd is 400% .
would like to adjust 2nd line to 162% . if you could say which lines .Try to learn more about indicator writing . thanks


Attached Files
Elite Membership required to download: RectangleWithPriceTarget.zip
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
400 Million Barrels to Address Middle East Supply Disruption
Commodities
May 26 Deadline Dies at 7.5% as US Strikes Iran During C …
Prediction Markets & Event Contracts
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
April CPI Preview: +3.7% YoY Expected at 8:30 AM ET -- C …
Traders Hideout
Iran Talks Final Stages -- Two VLCCs Exit Hormuz, Record …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 SamirOfSalem   is a Vendor
 
Posts: 77 since Jan 2020
Thanks Given: 23
Thanks Received: 49


hoppy123 View Post
Have this drawing tool . It draws a rectangle box and then draws 2 lines above 1st 200% ext 2nd is 400% .
would like to adjust 2nd line to 162% . if you could say which lines .Try to learn more about indicator writing . thanks

See if this works...
In lines 565, 571, 580 and 586:
replace Math.Pow(2.3 * rectHeight, .8)
with rectHeight*1.62

Unless I'm missing something, a comparison with the FibonacciRetracement tool shows that your tool's settings are not 200% and 400%, but more like 50% and 100% of the rectangle's height. To see what I mean, try using a Fib Retracement tool with two PriceLevels set at 150% and 200%.

I hope this helps.


Reply With Quote
Thanked by:
  #3 (permalink)
 hoppy123 
orlando
 
Experience: Beginner
Platform: esignal
Trading: forex emini oil gas
Posts: 81 since Jan 2017
Thanks Given: 26
Thanks Received: 64


thank you this worked perfect .you got skills


Started this thread Reply With Quote




Last Updated on January 24, 2022


© 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