Announcement

Collapse
No announcement yet.

Breakout Theory

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Breakout Theory

    Help! I've studied the documentation for back testing and for developing esignal strategies, but can't seem to understand the syntax well enough to code it. If anyone can help I'd be very grateful. This is what I'm trying to do:

    -Buy a stock if it penetrates yesterdays high by .06 and trigger on that bar.
    -Set profit target at 3%
    -Set stop at 1%
    -No overnight positions

    -Short a stock if it penetrates yesterdays low by .06 and trigger on that bar.
    -Set profit target at 3%
    -Set stop at 1%
    -No overnight positions

    Also, the stock can only have one long and one short per day.

    That's it for the strategy. My hope is to take this breakout method and tweak the stops and the triggers in the efs to do some comparisons and see what the output looks like. Anyone that can point me in the right direction, I'd be very grateful as I believe I've lost another 1000 follicles tonight upon my head.
Working...
X