CALCULATEONLASTBARS value as a variable?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #55547 quote
    robdav
    Participant
    Veteran

     Hi I have an indicator that I need to vary CALCULATEONLASTBARS. Is it possible to have the number of bars as a variable so I can change the number in the variables section rather than the code itself? It doesn’t seem to allow it but I am wondering if there is a workaround. Thanks Rob  DEFPARAM CALCULATEONLASTBARS = 3000

    #55554 quote
    Nicolas
    Keymaster
    Master

    No variables possible with a DEFPARAM instruction. It would help a lot! 

    robdav thanked this post
    #55555 quote
    robdav
    Participant
    Veteran

    Agreed, it would help a lot.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

CALCULATEONLASTBARS value as a variable?


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
robdav @robdav Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by robdav
8 years, 1 month ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 12/13/2017
Status: Active
Attachments: No files
Logo Logo
Loading...