NexusFi: Find Your Edge


Home Menu

 





draggable indicator


Discussion in EasyLanguage Programming

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




 
Search this Thread

draggable indicator

  #1 (permalink)
shezts
Temecula, Ca
 
Posts: 14 since Mar 2012
Thanks Given: 1
Thanks Received: 4

Hi,

I have an indicator that begins calculating at a certain bar. It's a formula, not a line tool, but it has a starting point.

The problem is that there are hundreds, sometimes thousands, of bars on the screen, and its very annoying to have to tinker with the input value in order to get the indicator positioned right.

Does anybody know how to make a tradestation indicator, written in easy language, draggable?

Thanks.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
ZombieSqueeze
Platforms and Indicators
MC PL editor upgrade
MultiCharts
Exit Strategy
NinjaTrader
Increase in trading performance by 75%
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
27 thanks
Tao te Trade: way of the WLD
23 thanks
Diary of a simple price action trader
22 thanks
My NQ Trading Journal
14 thanks
GFIs1 1 DAX trade per day journal
9 thanks
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627


shezts,

I am not exactly sure what you have in mind, but you might want to look into the Commentary function or mouse clicks to trigger a calculation at a certain bar.

Regards,
ABCTG

Follow me on Twitter Reply With Quote
  #4 (permalink)
shezts
Temecula, Ca
 
Posts: 14 since Mar 2012
Thanks Given: 1
Thanks Received: 4


ABCTG View Post
shezts,

I am not exactly sure what you have in mind, but you might want to look into the Commentary function or mouse clicks to trigger a calculation at a certain bar.

Regards,
ABCTG

Good solution. Having the bar numbers show up in the analysis window takes most of the effort out of repositioning. Hope that's what you meant.

Thanks.


..........

To spell this out for anyone reading, I added the following to the indicator:

if CommentaryEnabled then begin
commentary(Value1) // value1 is the bar number
end;

Adding that lets me click on the bar I want to have its bar number pop up in the analysis commentary window, which lets me enter that value only once instead of hunting around.

..........

Tradestation's UI overall is quite horrible. Seems like it was designed around 1998. Their iPad app, on the other hand - brilliant. I know they have good people, doing something other than redesigning the application.

Reply With Quote
Thanked by:
  #5 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627

shezts,

I was more thinking along the lines of eliminating the manual inputting completely, but if this works for you that's great. If you put in the barnumber manually, why not just feed it into the indicator directly?

Regards,
ABCTG


shezts View Post
Good solution. Having the bar numbers show up in the analysis window takes most of the effort out of repositioning. Hope that's what you meant.

Thanks.


..........

To spell this out for anyone reading, I added the following to the indicator:

if CommentaryEnabled then begin
commentary(Value1) // value1 is the bar number
end;

Adding that lets me click on the bar I want to have its bar number pop up in the analysis commentary window, which lets me enter that value only once instead of hunting around.

..........

Tradestation's UI overall is quite horrible. Seems like it was designed around 1998. Their iPad app, on the other hand - brilliant. I know they have good people, doing something other than redesigning the application.


Follow me on Twitter Reply With Quote
  #6 (permalink)
shezts
Temecula, Ca
 
Posts: 14 since Mar 2012
Thanks Given: 1
Thanks Received: 4


ABCTG View Post
shezts,

I was more thinking along the lines of eliminating the manual inputting completely, but if this works for you that's great. If you put in the barnumber manually, why not just feed it into the indicator directly?

Regards,
ABCTG

Couldn't make it do that. In any case the procedure, which involves clicking the Commentary button on the toolbar before doing anything else, wouldn't specify which of the indicators to update with the click, if there should be more than one on the chart. They would all respond.

But this is still very good.

Reply With Quote
  #7 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627

shezts,

in that case using OOEL and mouse clicks should work fine as they are chart specific.

Regards,
ABCTG

Follow me on Twitter Reply With Quote
  #8 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627

Look into the ChartingHost Class. This has a ChartElementClick event that is triggered every time the study detects a click on the chart and can be used to return various values.

Regards,
ABCTG

Follow me on Twitter Reply With Quote
Thanked by:




Last Updated on October 6, 2015


© 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