in Search

NEW FUNCTION - Fix the formula functions IsDefined()

Last post 04-18-2006, 2:13 by smg. 1 replies.
Sort Posts: Previous Next
  •  04-18-2006, 1:41 16573

    NEW FUNCTION - Fix the formula functions IsDefined()

    Official Wishlist Request #4
    Fix the formula functions IsDefined() and IsUndefined.

    Evaluates an expression on the left side of a chart, if the exression is true will return an expression, if false will return another expression: beats this function.....

    if( isDefined( Mov(c,200,S) ) , mov(c,200,s) , C )


    TESTERS required.
    PM/Email me...


    wabbit :D

    "The question of whether a computer can think is no more interesting than the question of whether a submarine can swim."
    Edsgar W. Dijkstra

     

    MS: 6.52 EOD, 7.x EOD, 8.0 PRO, 9.2 PRO w/QC, 10 PRO w/QC C, 11 PRO w/QC & MDK
    For custom MetaStock programming : http://www.wabbit.com.au
    My SkyPE status :
    My SkyPE account : wabbit.com.au

  •  04-18-2006, 2:13 16575 in reply to 16573

    IsDefined or IF

    Mr Wabbit,

    I understand the problem you are facing is not due to the IsDefined() or IsUndefined() functions. It might be due to the behaviour of IF() function. It seems IF() functions expects valid return values for both the returned options to return one of them, otherwise you will get NA plot.

    Regards

    SMG
View as RSS news feed in XML