OmniTrader Forum OmniTrader Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


This message cannot be deleted. It is the first message of the thread.
Administrators or moderators may choose to delete the entire thread


 
kmcintyre

Legend
100100100100
Posts: 410

Joined: 8/30/2007
Location: Valley Center, CA

User Profile
 
Subject : How do Filter Block Parameters work?
Posted : 5/24/2019 6:59 PM
Post #46198

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

Deleting message 46198 : How do Filter Block Parameters work?


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.