Welcome to NexusFi: the best trading community on the planet, with over 150,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 -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
The results are terrible thus far. However, I am willing to share in hopes that someone can improve on my work, and share back, that way we can all benefit.
As it is now, there is too much whipsawing with the Schaff and And TOS' backtesting format is not the best. I feel like the exit criteria should not necessarily be a reversal in the SCHAFF Cycle but maybe something else. In any event you play with it and post improvements. Here is how to send a short order when the SCHAFF fires short.
Add the following as a STRATEGY (not as a study)
Begin code:
Hello Everyone!
I'm new hear.
I'm looking for the TOS code for the Schaff Trend Cycle indicator. No tweaks, no changes. I found one file / attachment called STCSTUDY.ts, but it wants to open in a media player. ??? I believe the thinkscript is just straight text.
Can anyone help? THANKS IN ADVANCE
Open a chart in thinkorswim, then go to Edit Studies and Strategies and select the Import on the bottom left, then select the file. You can also right click the file, Open With and select Notepad, copy the code, then in the Edit Studies and Strategies select New... and paste the code there.
It won't work by double clicking. What you have to do is from within the TOS application open a chart, then in the "studies menu"->"edit studies..." a window will open and on the lower left of that window click "Import..." and finally navigate to the file on your computer from that TOS window and click "Open". After that the study will be available in the list of studies for usage.
Hi - hoping someone can help me out with this code below -
Question In "rec Frac1 = if Value2 > 0 then ((XMac - Value1) / Value2) * 100 else Frac1[1];
What is "Frac1[1]"
Question again in "rec PF = CompoundValue(1, PF[1] + (factor * (Frac1 - PF[1])), Frac1);
What is PF[1]? and also same with Frac2[1] and PFF[1]?????? where do I get those values from? does the bracket [] just mean default the Frac1 value to 1 if Value2<=0 and so on with the others?
Would appreciate some assistance with this
Will V L