Trading-SysteM. SELL in May(5), BUY in Oct. (10) ???

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10802 quote
    micha2012micha2012
    Participant
    Average

    Bonjour Nicolas,

    comment-allez vous?

    Please Nicolas, I need your help in adding “SET STOPLOSS -3% ??

     

    DEFPARAM CumulateOrders=False
    REM Sell in may !
    IF MONTH = 5 THEN
    SELLSHORT 100 share AT MARKET
    REM Buy in october !
    ELSIF MONTH = 10 THEN
    BUY 100 share AT MARKET
    ENDIF
    

    Where (in which line?) shall I add “SET STOP %LOSS -3"..?

    I want automatic StopLoss after -3% Loss (dropdown).

    Merci beaucoup Nicolas.

    Micha

    #10805 quote
    DerekDerek
    Participant
    Veteran

    Hallo Micha,

    setze Deinen Stoploss in die erste Zeile nach der Orderanweisung:

    IF MONTH = 5 THEN
    SELLSHORT 100 share AT MARKET
    Set Stop %Loss 3
    ENDIF

    Du kannst für jede Order dann eigene Stops und Limits setzen.

    #10824 quote
    micha2012micha2012
    Participant
    Average

    Hallo Derek,

    vielen Dank für Deine schnelle Antwort.

    Werde das jetzt umsetzen….

    Vielen Dank.

    Micha

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

Trading-SysteM. SELL in May(5), BUY in Oct. (10) ???


ProOrder: Automatischer Handel & Backtesting

New Reply
Author
author-avatar
micha2012 @micha2012 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by micha2012micha2012
10 years, 2 months ago.

Topic Details
Forum: ProOrder: Automatischer Handel & Backtesting
Language: German
Started: 07/22/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...