OmniTrader Forum
-
OmniTrader 2019 Technical Support
How do Filter Block Parameters work? |
^ Top | ||
kmcintyre![]() Posts: 410 Joined: 8/30/2007 Location: Valley Center, CA ![]() | I have an indicator that takes one parameter. I want to use the indicator in a filter block. I can add a filter, rename the filter, write OL code to call my indicator in the Long and Short Conditions edit box. But I have to hardcode the parameter to my indicator in the OL. I want to have the parameter passed to my indicator be a "Parameter" from the Filter block's perspective. IE I want the value to be set by the Parameters block in the upper right corner of the Filters block UI. I want to be able to assign a min and max value and oprimize. How do I do this? Example EMA( 50 ) < c ' this is hard codeded - no Bueno EMA( param1 ) < c ' I want param1 to be listed in the Parameters UI so I can assign min, max, and default values... Thanks | |
^ Top | ||
LSJ![]() Posts: 515 Joined: 8/17/2006 Location: Citrus Springs, FL ![]() | I am probably completely misunderstanding your question but for the opportunity to learn here is my simple solution to what I think you are asking: ![]() | |
^ Top | ||
kmcintyre![]() Posts: 410 Joined: 8/30/2007 Location: Valley Center, CA ![]() | Yep. My question was so damn stupid it is no wonder that you couldn't believe I was asking it. I absolutely did not see the Add button in the Parameters UI.... Being blind sucks... Thanks | |
^ Top | ||
LSJ![]() Posts: 515 Joined: 8/17/2006 Location: Citrus Springs, FL ![]() | No problem. We hold hands and feel our way along - I've got wet AMD. | |
^ Top | ||
kmcintyre![]() Posts: 410 Joined: 8/30/2007 Location: Valley Center, CA ![]() | Lots of research being done on AMD (and RP). Hope springs eternal. Blessings! | |
^ Top | ||
John J![]() Posts: 272 Joined: 8/3/2010 Location: Leduc, AB ![]() | I did some optimizations in a filter block today, and I have to admit that I ran into something I thought I knew the answer to years ago. If I check for optimization, how can I see the optimized values like I can in the Port Sim? Is the filter block doing dynamic optimization perhaps.? |