Backtest vs Live "set target"

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #7086 quote
    LotarLotar
    Participant
    New

    Hi,

    i’m running a system that defines X  with each new candle and i use the command: “set target pprofit X” . Watching my system live, I can see the stops changing with every candle.

    But the Backtest defines X only at the last candle before the “buy” command (in other words: When the System is not onmarket). That means “Set target pprofit x” is not changing anymore when onmarket –  in opposite running that live.

    Next i tried this one (only in the Backtest):

    “if onmarket then

    set target pprofit X

    endif”

    That doesn’t work in the backtest. No target is defined.

    How can I change that?

    Thanks for your ideas / answers…

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Backtest vs Live "set target"


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Lotar @lotar Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 05/14/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...