Impiego indicatore Stochastico

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

    Salve, vorrei testare una strategia con l’impiego, tra l’altro, dell’Indicatore Stocastico (20,3,3), ma non riesco a definire correttamente l’incrocio delle due linee che lo composngono (%K e %D), potete aiutarmi? Grazie

    #249950 quote
    Iván GonzálezIván González
    Moderator
    Legend

    ciao. Ecco un esempio di esempio:

    stok=Stochastic[20,3](close)
    stod=Stochasticd[20,3,3](close)
    
    if not onmarket then
       if stok crosses over stod and stok<20 then
          buy 1 contract at market
       elsif stok crosses under stod and stok>80 then
          sellshort 1 contract at market
       endif
    endif
    
    set stop %loss 5
    set target %profit 5
    
    #249952 quote
    demuiademuia
    Participant
    New

    Grazie mille Ivan, per la gentilezza e tempestività, come sempre.
    Giuseppe

    Iván González thanked this post
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

Impiego indicatore Stochastico


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
demuia @demuia Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by demuiademuia
1 year ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 08/20/2025
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...