Stop loss candela precedente

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #231662 quote
    Renzo
    Participant
    New

    Buongiorno,

    una volta a mercato, vorrei che il sistema impostasse lo stop loss in corrispondenza del livello “high + 3punti” della candela che precede.

    grazie mille

    OG

    #231687 quote
    robertogozzi
    Moderator
    Master

    Esempio Long:

    IF MieCondizioniLong AND Not OnMarket THEN
       SL = low                   //impostare uno SL iniziale sul minimo
       BUY 1 CONTRACT AT MARKET
       SET STOP PRICE SL
    ENDIF
    IF OnMarket THEN
       SL = max(SL, high[1] + 3*PipSize)
       SET STOP PRICE SL
    ENDIF
    #231945 quote
    Renzo
    Participant
    New

    grazie mille Roberto

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Stop loss candela precedente


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
Renzo @oronzo-gonnella Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Renzo
1 year, 9 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 04/18/2024
Status: Active
Attachments: No files
Logo Logo
Loading...