Trading system MM100 , RSI14 e stop ploss 20

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #10279 quote
    MaxMax
    Participant
    Average

    Qui di seguito una domanda inviata a ProRealTime:

    Buongiorno

    dopo essere entrato a mercato vorrei inserire un stop loss di 30pips nella candela sucessiva all’entrata a mercato e poi diminuirlo a 20pips dalla seconda candela sucessiva in poi.

    Il codice completo con le spiegazioni tra// di quello che vorrei eseguire come trading system.

    // variabili

    MM100 = average[100] (close)
    RSI14 = RSI[14]
    // Condizioni per entrare su posizioni long
    // vorrei entrare a mercato sul prezzo di chiusura + 9 pips, è corretto close+0.0009 ? //

    IF NOT LongOnMarket AND close> MM100 AND RSI < 20 THEN
    BUY 1 lot AT CLOSE + 0.0009 STOP
    ENDIF
    // Stop e target:
    // Se sono entrato long vorrei che lo stop loss della barra in corso fosse di 30 pips e poi diventi di 20 pips dalla barra seguente e per tutte le altre //

    IF Longonmarket set stop ploss 30 ALLA BARRA IN CORSO
    set stop ploss 20 DALLA SECONDA BARRA IN POI
    set target pprofit 50

    Vi rigrazio anticipatamente
    Saluti cordiali

    E un esempio di risposta:

    MM100 = average[100] (close)
    RSI14 = RSI[14](close)
    
    // Condizioni per entrare su posizioni long
    IF NOT LongOnMarket AND close> MM100 AND RSI14 < 20 THEN
    BUY 1 lot AT CLOSE +9*pointsize STOP
    SET STOP PLOSS 30
    ENDIF
    
    IF LongOnMarket then
    SET STOP PLOSS 20
    ENDIF
    
    set target pprofit 50
Viewing 1 post (of 1 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

Trading system MM100 , RSI14 e stop ploss 20


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
Max @max Participant
Summary

This topic contains 1 voice and has 0 replies.

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