Dark
Theme
Light
Theme
Register
Username or Email
Username or Email
Password
Password
Forgot
Signup
Forgot
Browse
Register
Downloads / Indicators
Articles
Upgrade to Elite
Unanswered Posts
My Posts
Return to Homepage
Today's Posts
Trading Reviews and Vendors
Futures Brokers Reviews
Traders Hideout (general)
Platforms and Indicators
Trading Journals
Elite Trading Journals
Psychology and Money Management
Off-Topic
The Elite Circle
Webinars
Trading Articles
Main Trading Articles Index
Article Categories
Help, Tutorials, How-To's
Traders and Trading Methods
Platforms, Tools and Indicators
Terms (Glossary)
Article Tools
List New Articles
List Recent Article Changes
Random Article
Most Popular Articles
Category Groupings
Wanted Articles
Most Linked to from Forum
Go to Page...
Quotes
by TradingView
>
Search Forums
>
Showing results 1 to 7 of 7
Filter subforums listed
Search:
Posts Made By:
SamirOfSalem
Forum:
NinjaTrader
November 22nd, 2020, 03:36 AM
Replies:
14
opacity
Views:
3,698
Posted By
SamirOfSalem
Hello Ky. Sorry if I confused you. To...
Hello Ky.
Sorry if I confused you. To explain, here's some sample code with comments around the relevant lines:
namespace NinjaTrader.NinjaScript.Indicators
{
public class KyLine :...
Forum:
NinjaTrader
November 21st, 2020, 11:13 AM
Replies:
14
opacity
Views:
3,698
Posted By
SamirOfSalem
I can't help but feel that using "Stroke"...
I can't help but feel that using "Stroke" would've been a better approach. It would've let you apply color, opacity and dashstyling as we. In NinjaScript, strokes are generally easier to deal with...
Forum:
NinjaTrader
November 21st, 2020, 10:22 AM
Replies:
14
opacity
Views:
3,698
Posted By
SamirOfSalem
Hmm.. maybe we're on the wrong track. So you've...
Hmm.. maybe we're on the wrong track. So you've changed the "width"? With a thin line you'll hardly be able to tell the difference, so the effect of opacity will be kind of visibly lost anyway. With...
Forum:
NinjaTrader
November 21st, 2020, 08:50 AM
Replies:
14
opacity
Views:
3,698
Posted By
SamirOfSalem
Not sure "AddLine" is the best way to go for...
Not sure "AddLine" is the best way to go for marking zones.
But if you must, and if this is the first line applied by your indicator, then add this next statement:
Lines[0].Width = 5; //for a...
Forum:
NinjaTrader
November 21st, 2020, 07:19 AM
Replies:
14
opacity
Views:
3,698
Posted By
SamirOfSalem
LOL See what you made me do! I copy-pasted from...
LOL See what you made me do! I copy-pasted from your code :becky:
It's not SolidColorBrushes, just SolidColorBrush.
Try this:
AddLine(new SolidColorBrush(Color.FromArgb(33,...
Forum:
NinjaTrader
November 21st, 2020, 06:22 AM
Replies:
14
opacity
Views:
3,698
Posted By
SamirOfSalem
Hi Ky. From what I can tell, you're missing:...
Hi Ky.
From what I can tell, you're missing:
- "new" before SolidColorBrushes, it should be AddLine( new SolidColorBrushes(Color.FromArgb(33, 255, 0, 0))
- a comma before the 0 you're using for...
Forum:
NinjaTrader
July 21st, 2020, 08:53 AM
Replies:
14
opacity
Views:
3,698
Posted By
SamirOfSalem
Hi Bullywig. See if using Color.FromArgb()...
Hi Bullywig.
See if using Color.FromArgb() works.
for example:
Brush Red33percent = new SolidColorBrush(Color.FromArgb(33, 255, 0, 0));
Red33percent.Freeze();
Showing results 1 to 7 of 7
What unexpected challenges have you encountered while trading on a "Funded Trader" platform?
Limited trading instruments
High platform usage fees
Lack of support or mentorship
Unrealistic rules and requirements
No significant challenges
Something else (discuss in thread)
View Results
Discuss Poll
futures io is now NexusFi
Trading Webinars How-to's
Trading Reviews & Products
Join Markets Chat waitlist
NinjaTrader Brokerage (Broker)
Ninja Mobile Trader (Server Hosting)
Apex Trader Funding (Prop Trading)
Tradovate (Trading Platform)
NinjaTrader (Trading Platform)
SharkIndicators (Trading Software)
© 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.