integrazione codice di trading

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #180066 quote
    Ciccarelli FrancoCiccarelli Franco
    Participant
    Senior

    In un mio codice che usa due medie mobile, vorrei mettere un comando per la differenza dei due. Come posso scriverlo?

    #180112 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Eccolo:

    Ema10 = average[10,1](close)
    Ema50 = average[50,1](close)
    Diff  = Ema10 - Ema50       //differenza

    se DIFF è positiva significa che la media veloce è sopra a quella lenta, se negativa è l’opposto.

Viewing 2 posts - 1 through 2 (of 2 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

integrazione codice di trading


ProOrder: Trading Automatico & Backtesting

New Reply
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
4 years, 11 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 10/21/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...