contador de velas verdes desde entrada Long hacia atras

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #228856 quote
    gustavobp
    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
    robertogozzi
    Moderator
    Master

    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.

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 robertogozzi
2 years ago.

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