Express Test_Stops vars series senti(50); calculation // // Exemple : entrée long à 11h25 le 16 janvier 2023 // sortie long à 12h00 le 16 janvier 2023 // entrée court à 11h15 le 17 janvier 2023 // sortie court à 11h35 le 17 janvier 2023 // Pour chaque trade copiez-collez les lignes ci-dessous et remplacez par vos dates et heures // Puis effacez l'exemple //Exemple pour du 5 minutes *************************************************************************************************** If ( date = 16_01_2023 ) and ((time > NumericToTime(1120)) and ((time < NumericToTime(1125))) ) then senti=100; // Entrée Long If ( date = 16_01_2023 ) and ((time > NumericToTime(1155)) and ((time < NumericToTime(1200))) ) then senti=40; // Sortie Long If ( date = 17_01_2023 ) and ((time > NumericToTime(1110)) and ((time < NumericToTime(1115))) ) then senti=0; // Entrée Short If ( date = 17_01_2023 ) and ((time > NumericToTime(1130)) and ((time < NumericToTime(1135))) ) then senti=60; // Sortie Short // Fin de l'exemple ********************************************************************************************************** interpretation begin sentiment=senti; end