Adding a moving average condition

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #32203 quote
    Oskar BergvallOskar Bergvall
    Participant
    Average
    Hello, I’m trying out a strategy and I want to add a condition to it so that it can ONLY buy if Moving Average 200 is positive. I searched but I only find crossover conditions. Maybe it’s not possible? //Ozz
    #32240 quote
    NicolasNicolas
    Keymaster
    Legend

    >> Please update your country flag in your profile. Thank you 🙂 <<

    #32254 quote
    GraHalGraHal
    Participant
    Master
    Hi Ozz I take it you don’t mean …
    If Close > Average(200) Then
      Buy at Market
    Endif
    (Mods sorry, I cant see the Insert PRT Code button unless I clear ALL my History, Cookies, everything. … any fix under development please?)   
    Oskar Bergvall thanked this post
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

Adding a moving average condition


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by GraHalGraHal
9 years, 5 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 04/16/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...