Help to code a strategy about percentage increase or decrease for OMXS30

Forums ProRealTime English forum ProOrder support Help to code a strategy about percentage increase or decrease for OMXS30

Viewing 3 posts - 16 through 18 (of 18 total)
  • #89122

    Please do not use the leading “@“ when addressing someone, unless really necessary, or anyone will receive two email messages. Thank you.

    1. The instrument traded is the one on the chart from where your strategy is launched

    2. There is no regular predefined SL, you may set it as best suits your needs. You may take advantage of the SEARCH BOX that opens whenever your mouse hovers your avatar, to find many examples and strategies that use many different ways to set it

    3. Post some details about what you want to do with volume and what “volume to be low” means. The VOLUME keyword is the one you should use.

    #100103

    Something is wrong when I backtest this code, I just get one trade, can someone tell my why?

    Underlying asset: Sverige30 Cash (20sk) Index

    Open position after 17:30, after hours trading

    Go long index when the index is -0,5 % down
    Take profit if increases 0,3% (the index is now -0,2% down)
    Take loss if decreases 0,25% (the index is now -0,75 down9

    Go short the index when  the index is upp 0,5%
    Take profit if decreases 0,3% (the index is now 0,2% up)
    Take loss if increases 0,25% (the index is now up 0,725)

    Close position at 08:59 day after, before opening hours if no one of this conditions occurs

    Trade size: 20

    1 min chart

     

     

     

     

     

    #100492

    alipour81 – Please use the ‘Insert PRT Code’ button when posting code in your future posts as it makes it easier for others to read. I have tidied up your last post for you. 🙂

Viewing 3 posts - 16 through 18 (of 18 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login