Setting the stop ploss

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #179415 quote
    SpreadBetMH
    Participant
    Average

    Hello,

    So, when I go from “simplified creation” to “creation by programming” I get this line that comes up in the “Stops & Targets”

    I have my Stop, Trailing & take profit figures added in “simplified creation” the numbers below are just for this example.

    Set Stop pLoss 10  pTrailing 15

    SET Target pProfit 45

    So, to fix this I do this:

    Set Stop pLoss 10  

    Set Stop pTrailing 15

    SET Target pProfit 45

    the problem is that the good trading system that I developed in “simplified creation” is now making a loss and the equity curve is now showing losses

    Thanks

    #179547 quote
    robertogozzi
    Moderator
    Master

    Firstly, the line Set Stop pLoss 10 pTrailing 15 is not allowed, despite being used in the official documentation, as it contains two different kind of STOP on the same line.

    Secondly, lines are read and executed sequentially, so when using Set Stop pLoss 10 then Set Stop pTrailing 15, be warned that the latter will override the former.

    Midlanddave and SpreadBetMH thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Setting the stop ploss


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
4 years, 4 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 10/11/2021
Status: Active
Attachments: No files
Logo Logo
Loading...