CODAGE HARAMI

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

    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
    lauthelauthe
    Participant
    New

    Merci Nicolas….

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

CODAGE HARAMI


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
lauthe @lauthe Participant
Summary

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

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 01/14/2018
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...