Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to mark true only one check every time?
Collapse
X
-
Hello gustavobp,
You would need to use a custom type converter.
See the reference sample linked below in the regions 'Use Case #2: Disable/enable properties based on secondary input'.
-
How to mark true only one check every time?
Hello Boys!!!
I need to make sure that only one of the 2 checks can be true at a time, that is, if I click on one check, the other is automatically deactivated. This is because it makes no sense to have both conditions activated at the same time to preserve the logic of the inputs. How can I do it? Do you have any practical and functional example of how it should be done? Thank you so much!!!
[Display(Name = "FAST EMA ABOVE SLOW EMA", Order = 7, GroupName = "Block 1: Condiciones de entrada")]
public bool ActivarEma9OverEma20Condition { get; set; } = true; // Checkbox para activar que la ema de 9 debe ser mayor a la ema de 20 para abrir una operacion
[NinjaScriptProperty]
[Display(Name = "FAST EMA CROOS ABOVE SLOW EMA", Order = 8, GroupName = "Block 1: Condiciones de entrada")]
public bool ActivarEma9CrossOverEma20Condition { get; set; } = true; // Checkbox para activar que la ema de 9 debe ser mayor a la ema de 20 para abrir una operacionTags: None
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by cmoran13, Today, 01:02 PM
|
0 responses
17 views
0 likes
|
Last Post
by cmoran13
Today, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
13 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|
||
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
159 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
92 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
143 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|

Leave a comment: