NexusFi: Find Your Edge


Home Menu

 





help adjusting drawing tool


Discussion in NinjaTrader

Updated
    1. trending_up 1,660 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?
ATFX Suspends Prop Trading Unit ATFunded -- Full Review …
Funded Trading Evaluation Firms
Peace Deal Forward Curve: May 22%, June 51%, December 81 …
Prediction Markets & Event Contracts
Victory Day Delivers: Russia-Ukraine Ceasefire Market Cl …
Prediction Markets & Event Contracts
S&P 500 Holds the Line: No Fast Track for SpaceX, Op …
Stocks and ETFs
The 50/50 Paradox: Peace and Invasion Each at 20% -- Ira …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 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