Bonjour,
Je vous serais reconnaissant de modifier l’indicateur Top Bottom indicator en permettant l’affichage des signaux sur le chart dans la version 12 de PRT (sans les lignes et sans indicateur placé sous le graphique) avec une flèche Sell au dessus du top et une flèche Buy au-dessous du bottom et d’apporter toutes les améliorations que vous souhaiteriez.
Merci encore,
Bien à vous,
Majez
///bonjour voici ci après
//PRC_Top Bottom | indicator
//08.10.2023
// — settings
per = 14 //Bottom Period
per2 = 14 //Top Period
// — end of settings
loc = low < lowest[per](low[1]) and low <= lowest[per](low[per])
if loc then
locstart=barindex
endif
bottoma = barindex-locstart
loc2 = high > highest[per2](high[1]) and high >= highest[per2](high[per2])
if loc2 then
loc2start=barindex
endif
topa = barindex-loc2start
iBuy = bottoma crosses over topa
iSell = bottoma crosses under topa
if iBuy then
drawtext(“Buy”,barindex,low-4,dialog,bold,14) coloured(0,128,0)
endif
if iSell then
drawtext(“Sell”,barindex,high-4, dialog,bold,14) coloured(255,0,0)
endif
return
Bonjour Monsieur,
Merci beaucoup pour votre excellent travail.
Bien à vous,
Majez