Hi - is there a version of the community strategy, RSI Trifecta, for intraday time intervals? Thanks
Size:
Color:
There is now. Note: this needs a lot of seed data, i.e., a period number of days * 3. In other words, if the Period is 7, it won't start trading until day 21 so that the Daily RSI has stabilized. For more info see WealthScript Programming Guide > Indicators > Stability of Indicators
Note! Requires Community.Components Extension
CODE:
Please log in to see this code.
Size:
Color:
Thanks!
Size:
Color:
The code compiles fine. But it does not run properly. Apparently something is wrong with the compression function. Specifically it says:
Runtime error: Cannot convert Daily Bars to 30 Daily Bars.
There are a couple more line, but I could not copy them. If important I'll either take a screenshot or retype them. Thanks.
Size:
Color:
Right after...
CODE:
Please log in to see this code.
Insert this...
CODE:
Please log in to see this code.
Is it OK now? If the intraday-only code now does not do anything, then you were trying to run this code on daily bars.
Size:
Color:
it does not compile now: there is a long list of errors starting with CS1002@(33,36):: expected.
As to running it on daily bars: what does it mean? isn't the code supposed to reset whatever is there? or should I specify the period on the currently displayed chart equal to the in this line of code:
_period = CreateParameter("Period", 15, 3, 21, 1);
That is 15 min? thanks.
Size:
Color:
I removed the abort code (ie. set it back to original) and manually reset the chart to 15 min to correspond with _period. Now it seem to run fine.
Size:
Color:
1. Copy and paste the code again. It is "perfect".
2. Make sure you have install the Community.Components Extension.
3. You MUST run the script on Intraday Data, that was the whole point of the exercise, was it not? The interval of the intraday data (the base interval) can be any number of minutes provided that the interval that you select for "Interval 2" is divisible by the base interval.
Size:
Color:
the original code runs fine now (I do have the community extension). When you say "divisible" I assume divisible w/o a remainder, e.g. base = 15m, Int2 = 30m. But the code has as defaults 7 and 30. So is it w/o remainder or simply int2 > base? thanks,
Size:
Color:
You're mixing apples and oranges. "7" is the period of the RSI and was chosen as the default based on the orignal script. This number has no bearing on the interval.
Check out this comment at the top of the code:
CODE:
Please log in to see this code.
The base interval is the chart's interval. Pick a 1, 2, 3, 5, 6, 10, or 15 minute interval chart to work with Interval2 = 30, for example.
Size:
Color:
it's clear now, thanks
Size:
Color: