PDA

View Full Version : Help on Strategydesk formulas!


bendexo
08-22-2009, 09:00 AM
New this forum just yesterday hoping to find peer or mentor help to implement an option trading system using StrategyDesk.

Essentially wait after open to get market back online, detect direction, buy calls or puts (or buy or short stock for that matter), protect profit/loss, close minutes before market close. The calls or puts (or stock) from SPY, VALE or some stock or ETF with a good blend of volatility, liquidity, volume and a narrow bid/ask.

If you stranger can share a winning formula or help to get it I would appreciate it very much. I would grant you at least 50,000 brownie points and my best shot formula below. Please share your formula or concept on this forum or in private. :)

Thanks a lot and good luck!

Bendexo

PD

Before presenting my best-shot formula below let me say that the following formula was my UFO-moment using StrategyDesk back-testing and strategy-trading (paper trading)...

LongEntry
StochasticRSI[StocK,14,14,3,1,15,0] >
StochasticRSI[StocK,14,14,3,1,15,1]
and

LongExit
StochasticRSI[StocK,14,14,3,1,15,0] <
StochasticRSI[StocK,14,14,3,1,15,1]

The StochasticRSI is a cartoon of price, a very sensitive indicator so it exposes you to very interesting questions using StrategyDesk. 2,000% amazing, theoretically. :)

Next is my best-shot formula with so-so results. My best I give away hoping to achieve a much better formula with your help. Think open-source, group thinking. Worst case a trade becomes overcrowded and thus brings about heightened momentum.

This formula is intentionally for high-frequency day-trading to bring results good or bad quickly, sooner and reduce test cycles.

Buy the first in-the-money SPY call or the first out-of-the-money call. If you don't know options, buy SPY, SSO or the 3X.

Entry
(110.0=110.0) AND (EntryTime < Bar[Time,5,1,SPY]) AND (
(MovingAverage[MA,Close,3,0,10,0,SPY] > MovingAverage[MA,Close,9,0,10,0,SPY] + 0.03) AND
(MovingAverage[MA,Close,3,0,10,0,SPY] > MovingAverage[MA,Close,18,0,10,0,SPY] + 0.03) AND
(StochasticRSI[StocK,14,14,3,1,30,0,SPY] > 0.55) AND
(Bar[Hour,1,0,SPY]*60+Bar[Minute,1,0,SPY]>535) AND
(Bar[Hour,1,0,SPY]*60+Bar[Minute,1,0,SPY]<915) AND
(Last[SPY] >= Bid[SPY] * .98 AND Last[SPY] <= Ask[SPY]*1.02)
)

[Comment: Line 1, 110.0=110.0 is just a label to find alerts in the inbox specific to this formula, EntryTime... to prevent from a zillion signals per minute. Line 2 and 3, detect direction. Line 4, limit to a certain oversold-overbought range. Line 5, wait for market to open fully, to come online. Line 6, close position before market close. Line 7, eliminate freak ticks.]

Exit
(110.1=110.1) AND (
(MovingAverage[MA,Close,3,0,10,0,SPY] < MovingAverage[MA,Close,9,0,10,0,SPY] - 0.03) OR
(StochasticRSI[StocK,14,14,3,1,30,0,SPY] < 0.525) OR
(Bar[Hour,1,0,SPY]*60+Bar[Minute,1,0,SPY]>945)
)

Buy the first in-the-money SPY put or the first out-of-the-money put. If you don't know options short SPY, SSO or the 3X.

Entry
(111.0=111.0) AND (EntryTime < Bar[Time,5,1,SPY]) AND (
(MovingAverage[MA,Close,3,0,10,0,SPY] < MovingAverage[MA,Close,9,0,10,0,SPY] - 0.03) AND
(MovingAverage[MA,Close,3,0,10,0,SPY] < MovingAverage[MA,Close,18,0,10,0,SPY] - 0.03) AND
(StochasticRSI[StocK,14,14,3,1,30,0,SPY] < 0.45) AND
(Bar[Hour,1,0,SPY]*60+Bar[Minute,1,0,SPY]>535) AND
(Bar[Hour,1,0,SPY]*60+Bar[Minute,1,0,SPY]<915)
)

Exit
(111.1=111.1) AND (
(MovingAverage[MA,Close,3,0,10,0,SPY] > MovingAverage[MA,Close,9,0,10,0,SPY] + 0.03) OR
(StochasticRSI[StocK,14,14,3,1,30,0,SPY] > 0.50) OR
(Bar[Hour,1,0,SPY]*60+Bar[Minute,1,0,SPY]>945)
) AND
(Last[SPY] >= Bid[SPY] * .98 AND Last[SPY] <= Ask[SPY]*1.02)

End of formula---

Disclaimer
---------
I am a money-losing novice, so do not act or fail to act upon anything I post. Options or stocks, short or long, are very risky compared to good cash. Speculation is inevitable. Inaction is also result of speculation.