INITIAL BALANCE and its extensions

INITIAL BALANCE and its extensions

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.

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. larouedegann • 01/04/2023 #

    Amélioration du code ………………………….
    Je trouvais assez frustrant d’attendre 09H00 pour avoir une IB digne de ce nom.
    Donc dans un TIMEFRAME 15MN , j’ai remodifié le code afin d’avoir une pertinence de prise de position dès le pré-cash gràce
    au middle dessiné en jaune.
    Bien évidemment pour ceux qui sont en M30 le code est a modifié.
    if TIME=081500 then
    valeurhaute= highest[1](high)
    valeurbasse= lowest[1](low)
    milieu = valeurhaute -((valeurhaute-valeurbasse)/2)
    ENDIF
    if TIME=083000 then
    valeurhaute= highest[2](high)
    valeurbasse= lowest[2](low)
    milieu = valeurhaute -((valeurhaute-valeurbasse)/2)
    ENDIF
    if TIME=084500 then
    valeurhaute= highest[3](high)
    valeurbasse= lowest[3](low)
    milieu = valeurhaute -((valeurhaute-valeurbasse)/2)
    ENDIF
    if TIME=090000 then
    valeurhaute= highest[4](high)
    valeurbasse= lowest[4](low)
    milieu = valeurhaute -((valeurhaute-valeurbasse)/2)
    canal = (valeurhaute-valeurbasse)

    valeurbasseA = valeurbasse-canal*0.50
    valeurbasseB = valeurbasse-(canal*1)
    valeurbasseC = valeurbasse-(canal*1.5)
    valeurbasseD = valeurbasse-(canal*2)
    valeurbasseE = valeurbasse-(canal*2.50)
    valeurbasseF = valeurbasse-(canal*3)

    valeurhauteA = valeurhaute+canal*0.50
    valeurhauteB = valeurhaute+(canal*1)
    valeurhauteC = valeurhaute+(canal*1.50)
    valeurhauteD = valeurhaute+(canal*2)
    valeurhauteE = valeurhaute+(canal*2.50)
    valeurhauteF = valeurhaute+(canal*3)
    endif

    RETURN valeurhaute as ” I B H”,valeurbasse as ” I B L”,MILIEU as”MILIEU”,valeurbasseA as “SUP0.50”,valeurbasseB as “SUP1”,valeurbasseC as “SUP1.50”,valeurbasseD as “SUP2”,valeurbasseE as “SUP2.50”,valeurbasseF as “SUP3”,valeurhauteA as “RES0.50”,valeurhauteB as “RES1”,valeurhauteC as “RES1.50”,valeurhauteD as “RES2”,valeurhauteE as “RES2.50”,valeurhauteF as “RES3”

  2. larouedegann • 01/04/2023 #

    if TIME=081500 then
    valeurhaute= highest[1](high)
    valeurbasse= lowest[1](low)
    milieu = valeurhaute -((valeurhaute-valeurbasse)/2)
    ENDIF
    if TIME=083000 then
    valeurhaute= highest[2](high)
    valeurbasse= lowest[2](low)
    milieu = valeurhaute -((valeurhaute-valeurbasse)/2)
    ENDIF
    if TIME=084500 then
    valeurhaute= highest[3](high)
    valeurbasse= lowest[3](low)
    milieu = valeurhaute -((valeurhaute-valeurbasse)/2)
    ENDIF
    if TIME=090000 then
    valeurhaute= highest[4](high)
    valeurbasse= lowest[4](low)
    milieu = valeurhaute -((valeurhaute-valeurbasse)/2)
    canal = (valeurhaute-valeurbasse)

    valeurbasseA = valeurbasse-canal*0.50
    valeurbasseB = valeurbasse-(canal*1)
    valeurbasseC = valeurbasse-(canal*1.5)
    valeurbasseD = valeurbasse-(canal*2)
    valeurbasseE = valeurbasse-(canal*2.50)
    valeurbasseF = valeurbasse-(canal*3)

    valeurhauteA = valeurhaute+canal*0.50
    valeurhauteB = valeurhaute+(canal*1)
    valeurhauteC = valeurhaute+(canal*1.50)
    valeurhauteD = valeurhaute+(canal*2)
    valeurhauteE = valeurhaute+(canal*2.50)
    valeurhauteF = valeurhaute+(canal*3)
    endif

    RETURN valeurhaute as ” I B H”,valeurbasse as ” I B L”,MILIEU as”MILIEU”,valeurbasseA as “SUP0.50”,valeurbasseB as “SUP1”,valeurbasseC as “SUP1.50”,valeurbasseD as “SUP2”,valeurbasseE as “SUP2.50”,valeurbasseF as “SUP3”,valeurhauteA as “RES0.50”,valeurhauteB as “RES1”,valeurhauteC as “RES1.50”,valeurhauteD as “RES2”,valeurhauteE as “RES2.50”,valeurhauteF as “RES3”

avatar
Register or

Likes

avatar avatar avatar avatar avatar
Related users ' posts
Bateson
1 year ago
otty82  all right. thanks
mmichael Hello, I noticed that the indicator shows the initial balance of today but also for all the ...
leyoy Bonjour, comment l'adapter sur 15 minutes au lieu de 1 heures ... j'ai changé 090000 par 081...

Top