Announcement

Collapse
No announcement yet.

Using MAofMA in PriceBars.efs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using MAofMA in PriceBars.efs

    I want MAofMA to replace the single MA in "MApriceBars.efs".
    I tried copying MAofMA.efs to Library, then calling it in MApricebars.efs. NO luck, many errors. Can this be done?, please demo how if you have time.
    Regards,
    Last edited by venture99; 01-11-2005, 09:56 PM.

  • #2
    Will
    The reason you are getting errors probably has to do with passing the incorrect parameters in the call() statement.
    Try replacing with the following and it should work (assuming MAofMA.efs is in the Library folder)
    call("/Library/maofma.efs");
    A better solution is to transfer the logic in lines 17-27 of MAPriceBars into MAofMA and replace the call() statement in vValue with vMAofMA.getValue(MAStudy.MA)
    Remember to also add the setColorPriceBars(true) and setDefaultPriceBarColor() statements in preMain().
    Alex

    Comment

    Working...
    X