Mystère….

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10231 quote
    Victorio
    Participant
    Senior

    Bonjour

    Mystère aujourd’hui sur un de mes pro-backtest.

    Mon code ne comporte aucun ordre “short”, il n’est censé ne faire que des “buy”.

    Et il ne fait que des shorts….( signaux jaune)

    Si je duplique le graphique, tout rentre dans l’ordre.

    Si quelqu’un a une explication, parce que ça frise le paranormal !

    #10235 quote
    Victorio
    Participant
    Senior

    Une partie du code, aucun ordre “short” !

    if highest[4]((indicator1)=ttl2)=1 or (abs(indicator1-ttl2))<=4 and ttl2=average[2](ttl2) and indicator1<medium-10 and (abs(tth2-ttl2))>=15 then
    buy 1 contract at market
    endif
    
    if longonmarket and indicator1-tradeprice(1) >5 and indicator1 crosses under medium then
    sell at market
    endif
    
    set stop ploss 15
    set target profit 1500
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Mystère….


Support ProOrder

New Reply
Author
author-avatar
Victorio @victorio Participant
Summary

This topic contains 1 reply,
has 1 voice, and was last updated by Victorio
9 years, 6 months ago.

Topic Details
Forum: Support ProOrder
Language: French
Started: 07/05/2016
Status: Active
Attachments: No files
Logo Logo
Loading...