[Display(ResourceType = typeof(Custom.Resource), Name = "Kontrakty", GroupName = filterMoneyManagement, Order = filterMoneyManagementOrder, Description = "Počet kontraktů, které se budou obchodovat")]
public int ContractsSet1 {
get { return iContractsSet[0]; }
set { iContractsSet[0] = value; }
}
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Access parameter description and name in onstrategy change
Collapse
X
-
Access parameter description and name in onstrategy change
Hello Is it possible to access values such as Description and name in parameters?
Code:Tags: None
-
Hi kujista, I found one answer to this question here, though I am not able to test this out due to going out of the scope of support I am able to provide on the subject:
-
Hi Chris,
Is there a way to echo properties values and names in State.DataLoaded code using similiar code to:
https://ninjatrader.com/support/help...a_typeconverte r_to_custo.htm
In this part I need to get all values of all properties and echo them to console. and in example above it does not show anything :-/ even if there is
Code:foreach (PropertyDescriptor property in propertyDescriptorCollection) { // do something with a specific property // cannot call Print() here // but you can call the static Output window "Process()" NinjaTrader.Code.Output.Process(property.Name, PrintTo.OutputTab1); }
Comment
-
Hi kujista, I answered on the other forum thread here:
Hi, is it possible when I change value of 1 parameter in strategy settings to set other values to predefined values? so i do not need to do this manually? I want to change value on top, and when i do so, it will change values of other fields.. ​ ​
Please post there if you have any questions.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
41 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
28 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
45 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
37 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|
Comment