NexusFi: Find Your Edge


Home Menu

 





Which OR operator to use in C# please?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Al2010 with 7 posts (0 thanks)
    2. looks_two samWest with 5 posts (4 thanks)
    3. looks_3 aslan with 2 posts (4 thanks)
    4. looks_4 Big Mike with 2 posts (2 thanks)
    1. trending_up 4,555 views
    2. thumb_up 10 thanks given
    3. group 2 followers
    1. forum 16 posts
    2. attach_file 1 attachments




Closed Thread
 
Search this Thread

Which OR operator to use in C# please?

  #11 (permalink)
Al2010
 
Posts: 50 since Oct 2010
Thanks Given: 36
Thanks Received: 10


samWest View Post
I'm sorry Al2010, I'm not going to write your code for you. My suggestion would be to go over to the indicator download area and look for something that is similar to what you want to do. Downloaded it, and look at the code. Studying other peoples code is great way to improve you coding skills.

I'm not asking to write anything for me. The question was why it works lk this and not as supposed to? Can you answer? Any explanation why it prints both messages when it should print only one according to the simple logic and code anyone can write? Is there an error in this code? I do not see it. This is very simple code and question. And seems no one can answer. But most can lecture... Is this C# or Ninja limitations, if any?
Besides, there is nothing wrong to show how to do smth. that you may know better and someone is asking for help. This is learning, not going through mostly ridiculous code of others. Look how many custom indicators out there. But 99.9% of them are absolutely useless. Some of them are beautiful and colorful... but try using them.
Thanks.


Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
MC PL editor upgrade
MultiCharts
How to apply profiles
Traders Hideout
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
16 thanks
  #12 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603

Attach your entire .cs file as an attachment and I will try to look at it (or someone else will) to see the problem.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal
Thanked by:
  #13 (permalink)
Al2010
 
Posts: 50 since Oct 2010
Thanks Given: 36
Thanks Received: 10



Big Mike View Post
Attach your entire .cs file as an attachment and I will try to look at it (or someone else will) to see the problem.

Mike

Thank you very much! Please see attached.

Attached Files
Elite Membership required to download: StochArrow.cs
  #14 (permalink)
 samWest 
Houston, Texas
 
Experience: Advanced
Platform: NinjaTrader
Posts: 25 since Oct 2010
Thanks Given: 2
Thanks Received: 19

To Al2010. Debugging is coding (usually the hardest part). I am trying very hard not to make a comment on the "value" of a double stochastic indicator.

To Big Mike. Thank You . I am now going to bow gracefully out of this thread before Al2010 makes another ungrateful remark.

Thanked by:
  #15 (permalink)
Al2010
 
Posts: 50 since Oct 2010
Thanks Given: 36
Thanks Received: 10


samWest View Post
To Al2010. Debugging is coding (usually the hardest part). I am trying very hard not to make a comment on the "value" of a double stochastic indicator.

To Big Mike. Thank You . I am now going to bow gracefully out of this thread before Al2010 makes another ungrateful remark.

Riiiiiiiight, blame me for your failures. Grow up. Too late to bow gracefully out...

  #16 (permalink)
 samWest 
Houston, Texas
 
Experience: Advanced
Platform: NinjaTrader
Posts: 25 since Oct 2010
Thanks Given: 2
Thanks Received: 19


Al2010 View Post
Riiiiiiiight, blame me for your failures. Grow up. Too late to bow gracefully out...

Dude, I correctly and courteously answered your original question. From your followup comments it is very obvious you don't know how to program and you don't even understand the most basic concepts in programming. In case you didn't know, this is a PROGRAMMING forum. The information I gave you, which is above and beyond your original question, is way more valuable than that silly little indicator you are trying to get working. The only real value it has is as a learning tool but you choose not to learn. Now the grace is gone.

  #17 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603

Moderator Notice
Moderator Notice


We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal

Closed Thread



Last Updated on December 11, 2010


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts