STOP TRADING AUTOMATICO CON 3 PÉRDIDAS CONSECUTIVAS

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #69389 quote
    Sportacus
    Participant
    New

    Buenas,

    Perdonad si no estoy colocando este tema en el foro adecuado.

    Alguien puede decirme cómo parar un sistema de trading automático intradía en velas de 5M hasta el día siguiente con 3 pérdidas consecutivas ?

    Yo tengo lo siguiente pero no me funciona:

    Al inicio del código:

    IF Time=153500 THEN
    BadTrades=0
    ENDIF

    En el medio del código:

    IF condicionesentrada>0  THEN
    IF BadTrades<3 THEN
    BUY 3 CONTRACTS AT MARKET
    SET STOP pLOSS 25 pTRAILING 50
    ENDIF
    ENDIF

    Al final del código:

    IF POSITIONPERF(1)<0 THEN
    BadTrades=BadTrades+1
    ELSIF POSITIONPERF(1)>=0 THEN
    BadTrades=0
    ENDIF

    Alguien sabe cómo programar esta funcionalidad? Gracias.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

STOP TRADING AUTOMATICO CON 3 PÉRDIDAS CONSECUTIVAS


Soporte ProScreener

New Reply
Author
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: Soporte ProScreener
Language: Spanish
Started: 04/29/2018
Status: Active
Attachments: No files
Logo Logo
Loading...