Size:
Color:
Eugene, I just downloaded the strategy from the Fidelity WLP Extensions and then as you instructed above. I assume I have to create a data set with the inverse ETFs to use this, correct?
Also which pre-built strategy on the library would you suggest for a breakout system?
Thanks!
Size:
Color:
Yes, create a new DataSet with these 8 symbols (DIA DOG QQQ PSQ QLD QID SPY SH) and update it.
Note that the code is not updated for the QQQQ ticker change so you need to replace QQQQ to QQQ in the code and save/compile.
Size:
Color:
Hi Eugen, I just created the DataSet and replaced the QQQQ with QQQ in the code (I found three instances I had to do this). It worked fine and strategy did not produce any errors.
Would I chose Scale to "Daily"? Does it work on 30 min chart and scale?
Size:
Color:
Although its AtClose exit orders do not make great sense intraday, the strategy can be run on any scale. After all, we just give you food for thought i.e. for your own experiments.
Size:
Color:
Hi,
I'm trying to code something similar to the ETF Inverse switching system but can't seem to figure it out after trying to go through the code and looking at the code from a similar post on an inverse strategy that uses trailing stops. I'd like to be able to have conditions to enter and exit DIA and when exiting to open a position in DOG.
Thanks!
CODE:
Please log in to see this code.
Size:
Color:
Hi,
What "something similar" are you trying to code? Where can we find its exact and detailed rules?
Size:
Color:
The "something similar" is to enter a position in an ETF like DIA when RSI > 50 and exit DIA when RSI > 70 or .vix >20 and enter its inverse, DOG, the next day so when no position in DIA is open. Hope that clarifies.
Size:
Color:
And when should your system exit the inverse ETF (DOG)?
Size:
Color:
When the conditions to enter DIA exist again
Size:
Color:
I didn't look too closely so all troubleshooting and editing is on you. ;)
CODE:
Please log in to see this code.
Size:
Color:
Anyone successfully created a strategy for leveraged etfs? TIA ...
Size:
Color: