!!! Parameter String - More input value !!!
08 Apr 2014, 16:52
Hello to all,
I would need to create a string parameter that can set three input values: Auto, Buy and Sell.
Can you do?
Thnaks
Replies
rkokerti
08 Apr 2014, 17:46
Hi Forex19!
I have a workaround, maybe it helps you...
[Parameter(DefaultValue = " ")]
public string BSA { get; set; }
if(BSA == "B")
{
// put BUY logic here
}
if(BSA == "S")
{
// put SELL logic here
}
if(BSA == "A")
{
// put AUTO logic here
}
Ok, it is not a drill down field, but you just write the corresponding value into the parameter field and it is works.
@rkokerti

Spotware
08 Apr 2014, 17:02
It is not possible at the moment. You can vote for this feature there: http://vote.spotware.com/forums/229166-ideas-and-suggestions-for-ctrader-and-calgo/suggestions/5502949-custom-parameters
@Spotware