What's the difference?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #34564 quote
    DespairDespair
    Blocked
    Master

    I wonder when to use the command(s) “crosses under/over”?

    What is the difference between say:

    breakoutlevel=1000
    if close crosses under breakoutlevel then
    ...
    and
    if close< breakoutlevel then...

    Is it the same or is there any difference?

    #34577 quote
    HenrikHenrik
    Participant
    Veteran

    Hi Despair!

    if close crosses under breakoutlevel then,   is only true once per crossing.
    ...
    and
    if close< breakoutlevel then... is Always true as long as close< breakoutlevel

     

    Regards

     

    Henrik

    Despair and Nicolas thanked this post
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

What's the difference?


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Despair @despair Blocked
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by HenrikHenrik
9 years, 4 months ago.

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