Multi Indicator Value display control question

To add comments, please log in or register
Kazi Jakaria
1546
Kazi Jakaria  

Hello,

I have several indicators in a ea. And its displays the in the chart. Using enable/disable we can display the chart or hidden the chart value.

But How we can control the Indicator value display in the chart? Support want to display only MACD, when enable/disable, RSI, ADX its control separately. What will be the code. If I only want to display Each one as I need. Say I need a MACD only will display in the chart. Will not display either.

Please check the screenshot



Chidera Anakpe
3922
Chidera Anakpe  
Kazi Jakaria:

Hello,

I have several indicators in a ea. And its displays the in the chart. Using enable/disable we can display the chart or hidden the chart value.

But How we can control the Indicator value display in the chart? Support want to display only MACD, when enable/disable, RSI, ADX its control separately. What will be the code. If I only want to display Each one as I need. Say I need a MACD only will display in the chart. Will not display either.

Please check the screenshot



You can use an if statement to make them optional
Komoles Kumar
255
Komoles Kumar  
Kazi Jakaria:

Hello,

I have several indicators in a ea. And its displays the in the chart. Using enable/disable we can display the chart or hidden the chart value.

But How we can control the Indicator value display in the chart? Support want to display only MACD, when enable/disable, RSI, ADX its control separately. What will be the code. If I only want to display Each one as I need. Say I need a MACD only will display in the chart. Will not display either.

Please check the screenshot



use if condition for every indicator value you show in the chart as string . 


if(MACD)
{
//macd value show

}


// of Show All 

if(Show All) 
{

// all indicators value 
}
To add comments, please log in or register