creating labels on price for entry and exit signals

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #178723 quote
    egyptiantraderegyptiantrader
    Participant
    Junior

    Hello.

    I use several conditions to enter and exit trades.

    Is there anyway to display on the screen which condition caused the entry or exit as text near the entry and exit candles?

    Thanks.

    #178724 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    The drawtext command is the one you’re looking for: https://www.prorealcode.com/documentation/drawtext/

    egyptiantrader thanked this post
    #178736 quote
    egyptiantraderegyptiantrader
    Participant
    Junior

    Thanks. I don’t think it’s possible to draw multiple text labels stretching back as far as the back test period?

    See attached. I want to draw text (or a symbol) for every entry and exit the back test has marked with arrows crosses etc.

    Screenshot-2021-09-29-18.15.22.png Screenshot-2021-09-29-18.15.22.png
    #178739 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    You can draw as many texts as you like, the issue is not single vs multiple or how far back, the issue is if you want to write text inside the price window, it’s not something you do from a backtest, it’s something you have do it from a probuilder code installed inside the price window (code ending with return, like the exemples in the drawtext documentation page).

    So if your code is only a backtest to start with, you need to create an indicator version of it, in which you can use the drawtext command rather than an order, for each time an order is supposed to be executed in your backtest (=where your backtest arrows are).

    egyptiantrader thanked this post
Viewing 4 posts - 1 through 4 (of 4 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

creating labels on price for entry and exit signals


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by JC_BywanJC_Bywan
4 years, 11 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 09/29/2021
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...