Code de croisement stochastique a programmer

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #218738 quote
    RICOU
    Participant
    New

    Bonjour,

    Je n’arrive pas à coder ceci (stochastique) :

    croisement D et K à la hausse ou à la baisse => passage d’ordre à l’achat ou à la vente

    Merci beaucoup pour votre aide

    #218744 quote
    fifi743
    Participant
    Master

    comme ceci

    stod=Stochasticd[14,3,5](close)
    stok=Stochastic[14,3](close)
    if stok crosses over stod then
    buy 1 contract at market
    endif
    if stok crosses under stod then
    sellshort 1 contract at market
    endif
    Nicolas thanked this post
    #218842 quote
    RICOU
    Participant
    New

    merci beaucoup fifi743

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Code de croisement stochastique a programmer


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
RICOU @ricou Participant
Summary

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

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 08/08/2023
Status: Active
Attachments: No files
Logo Logo
Loading...