Finding Price near square number of odd & even number

Optuma Forums Optuma Scripting Finding Price near square number of odd & even number

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #56419
    AvatarDeepak
    • Topics: 3
    • Replies: 2
    • Posts: 5

    Hiii,

    I wrote a script (from help of optuma) as below but its not working.

    v1 = 144;
    c1 = CLOSE();
    (c1/v1 0.95)

    or

    v2=4;

    c2=close();

    (c1/v1=0.95)

     

    I need to scan through scripts which are near square of odd or even number. Can u please help.

    #56441
    DarrenDarren
    • Topics: 43
    • Replies: 312
    • Posts: 355

    Hi Deepak,

    You have set the formula to equal 95%, which will never show a result. Instead you need >0.95 and <1.05 for a 5% range:

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

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close