Trading System MACD 9

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #37300 quote
    MaxMax
    Participant
    Average

    Qui di seguito una domanda inviata a ProRealTime

    vi chiedo se è possibile programmare un buy sell sul segnale della macd semplificata 9
    la curva segnale macd 9 può cambiare colore a seconda del senso , salita o discesa.
    comperare al cambio colore del rialzo in buy vendere al colore ribasso e contemporaneamente comperare un sell,alla stessa situazione vendere il sell e ricomprerare un buy.

     E un esempio di risposta :

    MyMACD=MACDline[12,26,9](close)
    
    if MyMACD> MyMACD[1] then
    r=0
    g=255
    b=0
    elsif MyMACD < MyMACD[1] then
    r=255
    g=0
    b=0
    endif
    
    return MYMACD coloured (r,g,b) style(HISTOGRAM)
    MyMACD=MACDline[12,26,9](close)
    
    if MyMACD> MyMACD[1] and not longonmarket then
    buy 1 share at market
    elsif MyMACD < MyMACD[1] and not shortonmarket then
    sellshort 1 share at market
    endif
Viewing 1 post (of 1 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

Trading System MACD 9


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
Max @max Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 06/02/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...