What's the difference?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #34564 quote
    Despair
    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
    Henrik
    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.

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 Henrik
8 years, 10 months ago.

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