CODAGE HARAMI

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

    Bonjour Nicolas,

    Si tu as le temps je désirerais inverser cette ligne code à la baisse

    Je désire  inverser cette ligne de code qui est destinée qu’au harami en cassure haussière.

    Donc la même chose mais à la baisse.

    Merci pour cette aide.

    CI JOINT LIGNE DE CODE

    Defparam cumulateorders = false
    
    REM inside bar
    
    c1= high[0] < high[1]
    c2= low[0] > low[1]
    
    harami = c1 and c2
    haramihaussier = harami and close > open
    
    IF haramihaussier then
    distanceaustop = high[1] - low[1]
    buy at high[1] stop
    ENDIF

     

    Merci

    #59458 quote
    Nicolas
    Keymaster
    Master

    Si j’ai bien compris, on cherche un harami baissier et on pose un ordre stop au bas de la bougie qui a vu le signal ? Si oui, je pense que cette version modifiée de ta stratégie doit fonctionner : (à tester)

    Defparam cumulateorders = false
    
    REM inside bar
    
    c1= high[0] < high[1]
    c2= low[0] > low[1]
    
    harami = c1 and c2
    haramibaissier = harami and close < open
    
    IF haramibaissier then
     distanceaustop = high[1] - low[1]
     sellshort at low[1] stop
    ENDIF
    #59463 quote
    lauthe
    Participant
    New

    Merci Nicolas….

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

CODAGE HARAMI


Support ProOrder

New Reply
Author
author-avatar
lauthe @lauthe Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by lauthe
8 years ago.

Topic Details
Forum: Support ProOrder
Language: French
Started: 01/14/2018
Status: Active
Attachments: No files
Logo Logo
Loading...