NexusFi: Find Your Edge


Home Menu

 





help adjusting drawing tool


Discussion in NinjaTrader

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




 
Search this Thread

help adjusting drawing tool

  #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?
Trade idea based off three indicators.
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
REcommedations for programming help
Sierra Chart
 
  #2 (permalink)
 SamirOfSalem   is a Vendor
 
Posts: 74 since Jan 2020
Thanks Given: 23
Thanks Received: 44


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


© 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