Code for: 'Ignore' or 'Do Nothing'

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11583 quote
    algotraderalgotrader
    Participant
    Average
    Hello Traders Please advise if there is a code (or a way) for: ‘Ignore’ or ‘Do Nothing’

    So for example: DownTrend = EMA < EMA[3]

    IF DownTrend THEN Do ‘Nothing’ Else Buy 2 contract at market.

    Thank you for your help, A.

    #11614 quote
    NicolasNicolas
    Keymaster
    Legend
    Hi, if you want to do nothing, you don’t have to code anything 🙂 Please explain what you want to do exactly?
    #11618 quote
    SomatolysisSomatolysis
    Participant
    Junior
    why not: UpTrend = EMA > EMA[3]
    IF UpTrend THEN
    Buy 2 contracts at market
    endif
    ?
    #11732 quote
    algotraderalgotrader
    Participant
    Average
    Hi I’m trading Mean Reversion and I want to go LONG when the market is in down-trend. But some of the times there are false signal to go long. The market suddenly go up and then continue the down-trend I’m looking for a way to avoid those false signal.. By telling the strategy: While going down, do nothing../Avoid the signal But I’m guessing I can use the ‘NOT’ Like: IF NOT DownTrend THEN..
Viewing 4 posts - 1 through 4 (of 4 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

Code for: 'Ignore' or 'Do Nothing'


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
algotrader @algotrader Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by algotraderalgotrader
10 years, 1 month ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 08/12/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...