PVBreakoutHL Strategy
A simple breakout strategy to trade daily high low breakouts like opening range (ORB).
Parameters (Default):
- Range Start Time (): Times in format like 1430 (ints for backtest)
- Range End Time ():
- Trading Start Time (): Can overlap with previous time!
- Trading End Time ():
- Delta ticks from high/low (0): Gap to High to Low line
- Max Entries per range: Set 0 to not limit
- Trade Longs (True):
- Trade Shorts (True):
- TARGETS: Ticks (See the picture)
- Max Daily Loss (0): Currency, used if not 0
- Max Daily Target (0): Currency, used if not 0
Pictures:
Example of first hour range to DAX (German) market. (open at 10:00 my time, premarket at 9:00)
Download: NT8
Purchase: See the strategy pricing (or contact directly me for the source code)
License: PVBreakout (or PVFullSet)
Misc:
FYI: this can be used as a base for enhancements for your strategy if needed, like limit or stop orders, backtestable times (ints) and so on. Or additional parameters can be added like Exit time if needed.
Another FYI: This strategy does not follow exactly my standard ones, as non-standard quantities and times not back testable (this was ordered from me but not paid).
Version 03 2024/12/31 Handling overnight times (end time can be smaller than start time)
Addition to the binary distribution, not so simple anymore PV_BreakoutHLOrderT :
Same, but with OrderType as a parameter added to the same assembly, named as a PV_BreakoutHLOrderT strategy.
Order Type: parameter
Market: Exactly same as PVBreakoutHL
LongLimit : Take a Long Limit Order at Low Level
ShortLimit: Take Short Limit Order at High Level
LongStop: Take a LongStop order at High Level
ShortStop: Take a Short Stop Order at Low Level
Use OppositeLevel SL (False): Position one, +- StopLoss ticks
So only one side waiting order can be there, but you can run several strategies with different order types and settings if needed like Long and Short simultaneously.
Another breakout strategy:
PVBreakoutTimeLevelS Strategy
Similar to previous one but unmanaged mode used so waiting stop orders at both side of market, which is NOT possible at managed mode strategies.
Some advantages like you are able to move targets more freely and some disadvantages like no backtesting in strategy analyzer and no cleaning if strategy stops or will be canceled, you need to manually remove orders... can be used as a base to your strategies as well. Well managed unmanaged code, example level.
Same license as previous
No comments:
Post a Comment