No me coge Stop trailing

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #175562 quote
    ANTONIUSUANTONIUSU
    Participant
    Junior

    Buenas tardes.-

    En mi estrategia sobre Bitcoin(1$) en IG quiero poner un stop trailing del 1% y como no admite porcentajes estoy intentado sin éxito:

    N = ROUND(TRADEPRICE / 99)
    SET STOP pTRAILING N

    Tampoco me funciona:

    N = TRADEPRIVE / 100
    
    SET STOP pTRAILING N

    Ni:

    N = TRADEPRICE / 99
    SET STOP pTRADING N

    ¿Cómo debo operar?

    Gracias

    #176258 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Como puedes leer en la documentación https://www.prorealcode.com/documentation/percenttrailing/, puedes usar

    SET STOP %TRAILING 1    //1% trailing stop (no use el símbolo% después de 1)
    #176262 quote
    ANTONIUSUANTONIUSU
    Participant
    Junior

    Gracias

Viewing 3 posts - 1 through 3 (of 3 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

No me coge Stop trailing


ProOrder: Trading Automático y Backtesting

New Reply
Author
author-avatar
ANTONIUSU @antoniusu Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by ANTONIUSUANTONIUSU
5 years, 1 month ago.

Topic Details
Forum: ProOrder: Trading Automático y Backtesting
Language: Spanish
Started: 08/17/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...