I CAN T CODE a MACD multi timeframe strategy

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #74110 quote
    peru2404peru2404
    Participant
    Average

    Hello everyone I wanted to know as I tried in vain to program a code .. I ask for help!

    For my strategy I use a MACD indicator and I would like it to automatically buy 1 buy contract when it turns green and 2 in sell when it turns red. I use 5 minutes  candles and my problem is that I can’t code the conditions in order to ignore the whole algorithm if it changes more than 1 time per minute. I would just like to make contracts only 1 time per minute in case of instability and also I can not set the purchase during the candle but only at the end of the bar.

    Thanks,

    Filippo

    #74111 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    I changed the title to make it less generic.

    As of this version of ProOrder it is not possible to use multiple Time Frames within a strategy (while ProScreen support this feature).

    Until MTF is supported, which should be within a few months, you wlll have to use either a 5-minute chart or a 1-minute chart, in both cases you will not be able to tell what happens in lower TFs.

    #74118 quote
    peru2404peru2404
    Participant
    Average

    Maybe I did not say it clear enough..

    i don t think it is a multitime frame strategy.. my “strategy” is to watch the MACD and buy when the candle of the macd becomes green and to sell when the candle becomes red

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

I CAN T CODE a MACD multi timeframe strategy


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
peru2404 @peru2404 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by peru2404peru2404
8 years, 3 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 06/22/2018
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...