Trailing stop reverse

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #15436 quote
    arcanearcane
    Participant
    Average

    Good evening,

    Nicolas thank you for your answers.

    I try to change your trailing stop program.

    http://www.prorealcode.com/blog/trading/complete-trailing-stop-code-function/

    Your stopprofit is set up when the market goes up if you buy.

    however, the setup is not activated if the market goes up when making a purchase

    I would do the opposite.

    Stoptraining trigger if the market goes down on a purchase.

    The dax = 10000

    If dax falls in 9500, the trailing stop is triggered with a stop at 9450. If the market rises, the stop back by 5 points.

    Can you tell me the elements to change in the code.

    Other people may want a trailing stop after a loss instead of a gain.

    I hope my English is not too bad.

    Thank you very much.

Viewing 1 post (of 1 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

Trailing stop reverse


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
arcane @arcane_jerome Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 10/24/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...