Trading System MACD 9

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #37300 quote
    Max
    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.

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
Logo Logo
Loading...