Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Platinum Customer
Joined: 3/19/2008 Posts: 64
|
Hey Bruce,
Hope you're well.
I stumbled across this image that appears to show if-then logic in Telechart.
It is for sure the same font and drawing tool buttons - but for the life of me can't figure out how one could add the multiple green moving averages that plot below (under some condition) then above (red dots) under some other condition without using an if/then logic.
https://pbs.twimg.com/profile_banners/1150969206/1398552710/1500x500
Am I missing some basic syntax construct that would support this?
|
|
Registered User Joined: 1/28/2005 Posts: 6,049
|
That looks like a few "Volatility Stop" indicators with different sized ATRs.
Thanks
|
|
Platinum Customer
Joined: 3/19/2008 Posts: 64
|
Hey Diceman,
You're correct. Didn't think of that one, and I appreciate you chiming in. In addition to Bruce's invaluable expertise, you've been an excellent resource for many years as well.
Cheers
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
As far as those particular dots go, I would think diceman is probably spot on as to the best way to try to reproduce them in TC2000.
As a general concept however, plotting dots based on at least local if...then...else type constructs is possible.
Plotting Swing Highs and Lows with Dots
But I don't think it would work well in the case from your image, as it looks like it is more like a state machine. The problem with this is that while we can do if...then...else at least to some extent, there are no user defined variables which could be used to store the state from one bar to the next.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Platinum Customer
Joined: 3/19/2008 Posts: 64
|
Thanks Bruce. I hadn't seen that link before, some definitely great ideas there. I have created dot-style indicators (in a sense similar to my original question) by taking abs(conditional test)*(H*1.001) or vice versa with L. FWIW, I was able to closely reproduce that using the settings 55,1.5 then 1.75 and so on w/ the vol stop.
Appreciate your chiming in as always.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |