Berührung Balken

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #38395 quote
    Maximillion07Maximillion07
    Participant
    New

    Hallo Leute,

    ich möchte dass eine Position eröffnet wird, sobald der Kurs einen bestimmten Ema(z.B.20) berührt.

    Leider bin ich noch Programmieranfänger und glaube die Funktion close erfüllt nicht den richtigen Zweck, da dort ja nur der Schlusskurs betrachtet wird.

    Ich hoffe mir kann jemand helfen.

    Vielen Dank schonmal!

    #38397 quote
    Maximillion07Maximillion07
    Participant
    New

    Or in other words i want to open a position when price touches ema but i am not able to program it…

    #38505 quote
    dav21dav21
    Participant
    Average
    hallo, 
    statt dem üblichen close nimmst du (high)das geht sowohl beim MA als auch beim Kurs 
    
    MA1 = Average[10](close)  oder  MA1 = Average[10](high)  oder  MA1 = Average[10](low)
    myKurs = (open+high+close)/3    das wäre der Mittelkurs der Kerze 
    myKurs = high
    z.B. 
    if  myKurs > MA1 thenbuy one share at market 
    endif
    
    Die Ausführung der Order erfolgt mit der nächsten kerze zur Eröffnung.
    
    #38548 quote
    Maximillion07Maximillion07
    Participant
    New

    Super vielen Dank! Gibt es auch eine Möglichkeit den Trade sofort bei Berührung zu eröffnen ?

    #39762 quote
    DespairDespair
    Blocked
    Master

    Du kannst eine stop order setzen. Die ist immer gueltig fuer den nächsten Bar. Also im Stile:

    ema=average[20](close)
    buy 1 contract at ema stop

    Der Stop wie gesagt immer nur eine Kerze gueltig, muss also immer wiederholt werden, wenn du das möchtest.

    Nicolas thanked this post
Viewing 5 posts - 1 through 5 (of 5 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

Berührung Balken


ProOrder: Automatischer Handel & Backtesting

New Reply
Author
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by DespairDespair
9 years, 2 months ago.

Topic Details
Forum: ProOrder: Automatischer Handel & Backtesting
Language: German
Started: 06/15/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...