idéalement il faudrait un tracé automatique
Code : #
amplitude = 0.0000
detector=0
rem gap up
if low>high[1] then
if ABS((low-high[1])/high[1])>amplitude then
detector=1
endif
endif
rem gap down
if high<low[1] then
if ABS((high-low[1])/low[1])>amplitude then
detector=-1
endif
endif
return detector as "gap detection"