contador de velas verdes desde entrada Long hacia atras

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #228856 quote
    gustavobpgustavobp
    Participant
    New

    Buenas tardes,

    Intento hacer un contador de velas verdes, de la siguiente manera:

    Si se cumple la condicion de variable VELASVERDES <= 4 CONSECUTIVAS  a contar desde la ultima vela hacia atras, entonces:

    IF VELASVERDES <= 4 THEN

    BUY 1 CONTRACT AT MARKET

    ENDIF

    A ver si alguien puede echarme una mano con el comando

    MUCHAS  GRACIAS!!!!!

    #228869 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Ahi esta:

    VELASVERDES = summation[4](close > open)
    IF VELASVERDES = 4 THEN
       BUY 1 CONTRACT AT MARKET
    ENDIF
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

contador de velas verdes desde entrada Long hacia atras


ProOrder: Trading Automático y Backtesting

New Reply
Author
author-avatar
gustavobp @gustavobp Participant
Summary

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

Topic Details
Forum: ProOrder: Trading Automático y Backtesting
Language: Spanish
Started: 02/27/2024
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...