Stoploss Distance indicator

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #53636 quote
    Marcel van Vliet
    Participant
    Veteran

    Lazy as I am, I got tired of calculating the stoploss distance of two times the ATR(20) for each trade or backtest.  So I created a very simple indicator to do this job for me. The indicater shows the distance needed between the low of a candle and the stoploss. (In the case of the image 96 pip) You can tweak this indicator to your own needs. (For example; The name in Dutch on the cursor details screen)

    //Stoploss distance
     
    period=20
     
    c=averagetruerange[period](close)
     
    AG = C*2
     
    return AG as "Stoploss distance"

     

    manel thanked this post
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Stoploss Distance indicator


ProBuilder: Indicators & Custom Tools

New Reply
Author
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 11/22/2017
Status: Active
Attachments: 1 files
Logo Logo
Loading...