COMO CRIAR INDICADOR EM FORMA DE NUVEM NO PROFIT PRO E BLACKARROW
Input
MediaRapida(9);
MediaLenta(20);
var
savgFast:float;
savgSlow:float;
Begin
savgFast:=mediaexp(MediaRapida,Close);
savgSlow:=mediaexp(MediaLenta,Close);
if(savgFast>savgSlow)then Paintbar(clverde);
if(savgFast<savgSlow)then Paintbar(clvermelho);
plot(savgFast);
plot2(savgSlow);
end;