INITIAL BALANCE and its extensions

Category: Indicators By: larouedegann Created: January 4, 2023, 2:23 PM
January 4, 2023, 2:23 PM
Indicators
2 Comments

Here is the code of the initial balance usable in all the timeframes lower than H1.

Schedules can be modified according to the cessions. To add the color of the IB go to price

configure color zone.

start = 080000
end = 090000
 
tc = time>=start and  time<end
if tc then
if not tc[1] then
valeurhaute=high
valeurbasse=low
endif
valeurhaute=max(high,valeurhaute)
valeurbasse=min(low,valeurbasse)
canal = (valeurhaute-valeurbasse)
valeurbasseA = valeurbasse-canal
valeurbasseB = valeurbasse-(canal*1.618)
valeurbasseC = valeurbasse-(canal*2)
valeurbasseD = valeurbasse-(canal*3)
valeurhauteA = valeurhaute+canal
valeurhauteB = valeurhaute+(canal*1.618)
valeurhauteC = valeurhaute+(canal*2)
valeurhauteD = valeurhaute+(canal*3)
ENDIF

RETURN valeurhaute as " I B H",valeurbasse as " I B L",valeurbasseA as "SUP1",valeurbasseB as "SUP1.618",valeurbasseC as "SUP2",valeurbasseD as "SUP3",valeurhauteA as "RES1",valeurhauteB as "RES1.618",valeurhauteC as "RES2",valeurhauteD as "RES3"

Download
Filename: Initial-Balance-and-extension.itf
Downloads: 131
larouedegann Master
Operating in the shadows, I hack problems one by one. My bio is currently encrypted by a complex algorithm. Decryption underway...
Author’s Profile

Comments

Logo Logo
Loading...