Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 01:12:08 +0000



Post From: Volume spike coding

[2013-06-30 23:35:04]
M5amhan - Posts: 468
=OR(AND(L<=L[-1],L<=L[-2],C>=C[-1],C>=C[-1],C>=O,(C-O)<(H-L),V[-1]>V[-2],V[-1]>V[-3],V[-1]>V[-4],V[-1]>V[-5],V[-1]>V[-6]),AND(L>=L[-1],L<=L[-2],C>=C[-1],C>=O,(C-O)<(H-L),V[-1]>V[-2],V[-1]>V[-3],V[-1]>V[-4],V[-1]>V[-5],V[-1]>V[-6]))

this is your "high volume spike long signal" condition 1 & 2. i dont know what "If bartype < 2 then iVolume = Ticks else IVolume = volume;" is supposed to mean. follow that frame work for your short signals code and use 2 "color background based on alert condition" studies and put long signal formula in one and short signal formula in another