Range average, Big candle

Forums ProRealTime English forum ProBuilder support Range average, Big candle

Viewing 3 posts - 1 through 3 (of 3 total)
  • #213757

    Hi everyone,

    I’m not an ATR specialist, how do I calculate if my candle is X times bigger than the average of the last 10 , I tryed this code but I get an error,

    The idea is to detect an abnormally large candle

    Best Reguards,
    ZeroCafeine

    #213759

    Good morning,

    You have swapped  parentheses and brackets in your average, try instead:

     

    On a side note, keyword “range” is already high-low, you don’t need to create it with “myrange”

    1 user thanked author for this post.
    #213762

    By the way, in the wake of yesterday’s “tip”, another tip to avoid such parentheses issues and save you time not having to find the problem and solve it: typing the start of the keyword (for example “aver” for average), and clicking in toolbar on the yellow lightbulb, it will propose all language keywords with “aver” inside, then click on the one wanted in the list and it will complete “aver” in your code, in this case “average[20](close)”, now that syntaxt is ok, replace 20 if needed, replace close if needed.

    1 user thanked author for this post.
Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login