SALIR DE UNA OPERACION DESPUES DE “N” VELAS

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

    Hola a todos, me puede alguien ayudar a escribir cómo salirse de una operación despues de “n” velas? gracias de antemano

    #205414 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Ahi esta:

    IF OnMarket AND (BarIndex - TradeIndex) >= 20 THEN //Salir después de 20 velas
       SELL      AT MARKET
       EXITSHORT AT MARKET
    ENDIF
    josemi thanked this post
Viewing 2 posts - 1 through 2 (of 2 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

SALIR DE UNA OPERACION DESPUES DE “N” VELAS


ProOrder: Trading Automático y Backtesting

New Reply
Author
author-avatar
josemi @josemi Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
3 years, 9 months ago.

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