bonjour
j'ai un indicateur qui me met des fleches aux bons endroits !!
comment récuperer les "fleches" dans mon expert :
exemple j'ai un SSL_channel_chart_alert_indicator, dans la section init il y a bien les indications des buffers 3 et 4 pour les fleches achat et vente !!
int init()
{
IndicatorBuffers(8);
SetIndexBuffer(0,ssld); SetIndexDrawBegin(0,Lb+1);
SetIndexBuffer(1,sslu); SetIndexDrawBegin(0,Lb+1);
SetIndexBuffer(4,Hlv);
SetIndexStyle(3, DRAW_ARROW, EMPTY);
SetIndexArrow(3, 233);
SetIndexBuffer(3, CrossUp);
SetIndexStyle(2, DRAW_ARROW, EMPTY);
SetIndexArrow(2, 234);
SetIndexBuffer(2, CrossDown);
D=Time[1];
return(0);
}
int deinit()
{
return(0);
}
Dans mon expert je fais appel a cet indicateur et j'essaye de récuperer les valeurs des signaux ici :
double signal_ssl_a = iCustom (NULL, 0, "SSL_channel_chart_alert_indicator", 10,2,0);
double signal_ssl_v = iCustom (NULL, 0, "SSL_channel_chart_alert_indicator", 10,3,0);
Alert("signal_ssa==",signal_ssl_a," signal_ssl_v==",signal_ssl_v);
mais ca marche pas !!
qui peux m'aider
merci
![]() |
|


LinkBack URL
About LinkBacks
Répondre avec citation