NexusFi: Find Your Edge


Home Menu

 





draggable indicator


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #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?
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
Post-Summit Market Verdict: ES -1%, NQ -1.5%, 10-Year Yi …
Traders Hideout
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
Warsh Rate Hike at 40%, Iran June 15 Expires Tonight at …
Prediction Markets & Event Contracts
CME Raises Energy Futures Margins After Iran-War Volatil …
Commodities
 
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)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643


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 X 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,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

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 X 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,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

shezts,

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

Regards,
ABCTG


Follow me on X Reply With Quote
  #8 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

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 X Reply With Quote
Thanked by:




Last Updated on October 6, 2015


© 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