NexusFi: Find Your Edge


Home Menu

 





Assign Numbers To An Indicator


Discussion in Platforms and Indicators

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




 
Search this Thread

Assign Numbers To An Indicator

  #1 (permalink)
Joe50
HONOLULU
 
Posts: 23 since Feb 2019
Thanks Given: 6
Thanks Received: 3

Hello and thank you for taking the time to read this.

I still use TS2000i and I know it is similar to the newer versions of TS.


In any event this is what I am trying to do:

1. I am using 10 minute bars and a 5 period SMA

2. The indicator I am trying to create is in it own subparagraph where there are different levels 5,4,3,2,1,0,-1,-2,-3,-4,-5

3. I am trying to code an indicator where the first time the Close is > SMA then plot a line at 1 //the lines should connect , kind of like RSI or %R

the 2nd time the C > SMA then plot a line at 2

the 3rd time the C > SMA then plot a line at 3 and so on

4. Reverse is true if C < SMA

5. It will reset everyday //date <> date[1]

I cannot understand how to get past 1.

If anybody can help me Thankyou !

Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Exit Strategy
NinjaTrader
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Spoo-nalysis ES e-mini futures S&P 500
28 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
20 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #2 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603

Which platform? So this can be moved to appropriate section.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627


@Big Mike Tradestation judging by the abbreviations TS2000i (i.e. Tradestation 2000i) and TS.

Regards,

ABCTG


Big Mike View Post
Which platform? So this can be moved to appropriate section.

Mike


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

Hi Joe50,

one approach that could work is using a variable that you increment or decrement every time your conditions are fulfilled. Then simply plot this variable and maybe add additional plots for the levels.

Regards,

ABCTG


Joe50 View Post
Hello and thank you for taking the time to read this.

I still use TS2000i and I know it is similar to the newer versions of TS.


In any event this is what I am trying to do:

1. I am using 10 minute bars and a 5 period SMA

2. The indicator I am trying to create is in it own subparagraph where there are different levels 5,4,3,2,1,0,-1,-2,-3,-4,-5

3. I am trying to code an indicator where the first time the Close is > SMA then plot a line at 1 //the lines should connect , kind of like RSI or %R

the 2nd time the C > SMA then plot a line at 2

the 3rd time the C > SMA then plot a line at 3 and so on

4. Reverse is true if C < SMA

5. It will reset everyday //date <> date[1]

I cannot understand how to get past 1.

If anybody can help me Thankyou !


Follow me on Twitter Reply With Quote
Thanked by:
  #5 (permalink)
Joe50
HONOLULU
 
Posts: 23 since Feb 2019
Thanks Given: 6
Thanks Received: 3

Thankyou for replying.

I will try this.

Reply With Quote
Thanked by:




Last Updated on July 2, 2019


© 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