STOP SOTTO o SOPRA PENULTIMA CANDELA

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19445 quote
    FelixFelix
    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
    NicolasNicolas
    Keymaster
    Legend

    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
    FelixFelix
    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.
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

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 FelixFelix
9 years, 8 months ago.

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