STOP SOTTO o SOPRA PENULTIMA CANDELA

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

    Buongiorno,

    la mia richiesta è questa:

    Vorrei entrare a mercato LONG e inserire uno STOP LOSS sotto l’ultima candela .

    e

    Vorrei entrare a mercato SHORT e inserire uno STOP LOSS sopra l’ultima candela.

    Grazie anticipatamene!

    Felix

    #19539 quote
    Nicolas
    Keymaster
    Master

    Prima di tutto bisogna definire il valore di stop loss in punti.
    In caso di una MERCATO LONG:

    if conditionbuy then 
     buy 1 share at market 
     stoploss = close-low[1]
    endif
    

    In caso di una MERCATO CORTO:

    if conditionsell then 
     sellshort 1 share at market 
     stoploss = high[1]-close
    endif

    e poi mettere il valore di stop loss su ordine aperti attuali:

    set stop loss stoploss

    Spero che va bene per voi, fatecelo sapere e se avete bisogno di più assistenza di qualsiasi tipo.

    #19753 quote
    Felix
    Participant
    New

    Grazie,

    provo e ti saprò dire!

     

    Felix

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

STOP SOTTO o SOPRA PENULTIMA CANDELA


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
Felix @felix Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Felix
9 years, 1 month ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 12/30/2016
Status: Active
Attachments: No files
Logo Logo
Loading...