detect stop

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #54593 quote
    tav
    Participant
    Junior

    How would you detect if a stop was triggered?

    I want to immediately buy or sell at the stop position

    #54599 quote
    robertogozzi
    Moderator
    Master

    When the current bar closes you want to test if you are no longer onmarket AND your last strategyprofit is negative, that means your SL was hit.

    Roberto

    Nicolas thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

detect stop


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
tav @tavaziva_madzinga Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
8 years, 3 months ago.

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