Trailing step and trailing start codon

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

    Hi can any one help me with a code for trailing  step and trailing start please, I’m struggling to make a code that works . thanks Andy .

    #240398 quote
    robertogozzi
    Moderator
    Master
    You can use Nicolas’code from lines 17 t0 56 that you can find at https://www.prorealcode.com/blog/trading/complete-trailing-stop-code-function/. Just append them to your code changing the two values in trailingstart and trailingstep. Make sure you are not using the same names for some variables in your code. If you search this forum for TRAILING STOP you will find many more topics and lots of code snippets that deal with trailing stops.
    Iván González thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Trailing step and trailing start codon


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
andyfx79 @andyfx79 Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 11/15/2024
Status: Active
Attachments: No files
Logo Logo
Loading...