MACD Automated Tradeing

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #112334 quote
    RAAAMMYRAAAMMY
    Participant
    Average

    Hi, I used my demo account to set up an automated trading system to buy/sell the MACD zero line cross – and I failed!

    I fiddled about with the settings without success.  Can anyone tell me what they should be?

    All the best

    RAAAMMY

    #112340 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    There you go:

    MyMACD = Macd[12,26,9](close)
    IF MyMACD CROSSES OVER 0 AND Not OnMarket THEN
       BUY 1 CONTRACT AT MARKET
    ELSIF MyMACD CROSSES UNDER 0 AND Not OnMarket THEN
       SELLSHORT 1 CONTRACT AT MARKET
    ENDIF
    SET TARGET pPROFIT 100
    SET STOP   pLOSS   30

    I moved your topic from General support to ProOrder support, as it’s a strategy.

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

MACD Automated Tradeing


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
RAAAMMY @raaammy Participant
Summary

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

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 11/07/2019
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...