detect stop

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

    How would you detect if a stop was triggered?

    I want to immediately buy or sell at the stop position

    #54599 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    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.
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

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

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