Code de croisement stochastique a programmer

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

    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
    fifi743fifi743
    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
    RICOURICOU
    Participant
    Junior

    merci beaucoup fifi743

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

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 RICOURICOU
3 years, 1 month ago.

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