Dark Theme
Light Theme
Welcome to NexusFi: the best trading community on the planet, with over 200,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to
register in order to view the content of the threads and start contributing to our community.
It's free for basic access, or support us by becoming an Elite Member -- discounts are available after registering.
-- The NexusFi team
(If you already have an account, login at the top of the page)
Updated July 2, 2019
trending_up
2,048 views
thumb_up
7 thanks given
group
2 followers
forum
4 posts
attach_file
0 attachments
July 2nd, 2019, 10:19 AM
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 !
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
July 2nd, 2019, 10:41 AM
Manta, Ecuador
Site Administrator Developer Swing Trader R.I.P. 1977-2026
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,586
Which platform? So this can be moved to appropriate section.
Mike
July 2nd, 2019, 11:04 AM
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643
@Big Mike Tradestation judging by the abbreviations TS2000i (i.e. Tradestation 2000i) and TS.
Regards,
ABCTG
Big Mike
Which platform? So this can be moved to appropriate section.
Mike
July 2nd, 2019, 11:06 AM
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643
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
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 !
July 2nd, 2019, 02:46 PM
HONOLULU
Posts: 23 since Feb 2019
Thanks Given: 6
Thanks Received: 3
Thankyou for replying.
I will try this.
Last Updated on July 2, 2019