amelioration PRT code avec RSI indicateur

Forums ProRealTime forum Français Support ProOrder amelioration PRT code avec RSI indicateur

Viewing 4 posts - 1 through 4 (of 4 total)
  • #87701

    bonjour

    je cherche a ajouter du code pour les ventes ????

    vous avez une idee spv?

     

     

    // Définition des paramètres du code
    DEFPARAM CumulateOrders = False // Cumul des positions désactivé

    // Conditions pour ouvrir une position acheteuse
    indicator1 = SMI[14,3,5](close)
    indicator2 = Average[3](SMI[14,3,5] (close))
    c1 = (indicator1 CROSSES OVER indicator2)

    indicator3 = close
    indicator4 = Average[20](close)
    c2 = (indicator3 >= indicator4)

    IF c1 AND c2 THEN
    BUY 1 CONTRACT AT MARKET
    ENDIF

    // Conditions pour fermer une position acheteuse
    indicator5 = SMI[14,3,5](close)
    indicator6 = Average[3](SMI[14,3,5](close))
    c3 = (indicator5 CROSSES UNDER indicator6)

    IF c3 THEN
    SELL AT MARKET
    ENDIF

    // Stops et objectifs
    SET STOP %LOSS 5

    #87706

    Voila le rendu avec le bouton [Insert PRT code] mais je n’ai pas la réponse, bonnes fêtes de fin d’année 😉

    #87711

    merci comme meme swapping

    #87712

    Voilà:

     

    2 users thanked author for this post.
Viewing 4 posts - 1 through 4 (of 4 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login