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.


  Current location        Thread information  
OmniTrader Archives
OmniTrader 2019 Technical Support
How do Filter Block Parameters work?
Last Activity 6/11/2020 8:44 AM
5 replies, 976 viewings

Jump to page : 1
Now viewing page 1 [25 messages per page]
 
back reply
Printer friendly version

^ Top
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

^ Top
LSJ

Legend
500
Posts: 515

Joined: 8/17/2006
Location: Citrus Springs, FL

User Profile
 
Subject : RE: How do Filter Block Parameters work?
Posted : 5/25/2019 9:36 AM
Post #46201 - In reply to #46198

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:



[Edited by LSJ on 5/25/2019 9:38 AM]

Attached file : param1.jpg (132KB - 523 downloads)

^ Top
kmcintyre

Legend
100100100100
Posts: 410

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

User Profile
 
Subject : RE: How do Filter Block Parameters work?
Posted : 5/25/2019 11:07 AM
Post #46202 - In reply to #46198

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

Legend
500
Posts: 515

Joined: 8/17/2006
Location: Citrus Springs, FL

User Profile
 
Subject : RE: How do Filter Block Parameters work?
Posted : 5/25/2019 12:40 PM
Post #46204 - In reply to #46198

No problem. We hold hands and feel our way along - I've got wet AMD.
^ Top
kmcintyre

Legend
100100100100
Posts: 410

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

User Profile
 
Subject : RE: How do Filter Block Parameters work?
Posted : 5/25/2019 3:11 PM
Post #46205 - In reply to #46198

Lots of research being done on AMD (and RP).

Hope springs eternal.

Blessings!

^ Top
John J

Veteran
1001002525
Posts: 272

Joined: 8/3/2010
Location: Leduc, AB

User Profile
 
Subject : RE: How do Filter Block Parameters work?
Posted : 7/4/2019 5:18 PM
Post #46269 - In reply to #46198

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.?
Jump to page : 1
Now viewing page 1 [25 messages per page]
back reply

Legend    Action      Notification  
Administrator
Forum Moderator
Registered User
Unregistered User
E-Mail this thread to a friend
Toggle e-mail notification


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