Modification de break even

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #229880 quote
    gerard66
    Participant
    New

    Bonjour Nicolas

    peux tu modifier la formule du BE que tu m avais créee, en permettant de sortir  avec un gain de 1% par exemple, en cas de retournement du marché suite a gain de plus de 6%

    actuellement le robot cloture sans gain ni perte

    j ai parcouru le forum sans trouver de reponse

    cordialement

    // HORAIRES DE TRADING
    CtimeAchat1 = time >= 080000 and time < 120000

    // LONGS
    HautRange1 = highest[8](high)
    c1 = close > HautRange1[1]
    c2 = close[1] > HautRange1[2]
    c3 = average[50](close) > average[60](close) AND average[60](close) > average[65](close)
    IF c1 and c2 and c3 and CtimeAchat1 and not onmarket THEN
    Buy n shares at market
    SET STOP %LOSS 0.25
    SET TARGET %PROFIT 0.9

    ENDIF

    // mise à breakeven
    if onmarket and positionperf>0.6/100 then
    set stop breakeven
    endif

    #229905 quote
    larouedegann
    Participant
    Master
    // mise à breakeven
    if onmarket and positionperf>=1/100 then
    set stop breakeven
    endif
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Modification de break even


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
gerard66 @gerard66 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by larouedegann
1 year, 10 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 03/16/2024
Status: Active
Attachments: No files
Logo Logo
Loading...