Indicateur OPR (Open Price Range)
-
Glaetitia
- Ewok
- Messages : 18
- Enregistré le : 17 août 2020 13:23
Re: Indicateur OPR (Open Price Range)
Bonjour ,
, j'ai le meme questionnement que Choux , dans PRT on me demande de definir europe et amerique , pourriez vous m'aider ? Merci 
-
max38250
- Membre du Conseil Jedi
- Messages : 5379
- Enregistré le : 08 août 2020 11:40
Re: Indicateur OPR (Open Price Range)
C'est juste les horaires à définir.
-
Glaetitia
- Ewok
- Messages : 18
- Enregistré le : 17 août 2020 13:23
Re: Indicateur OPR (Open Price Range)
Comment fait on pour definir les horaire car j'ais le choix avec entier decimal etc... que choisir ?
Merci pour votre aide
Merci pour votre aide
-
max38250
- Membre du Conseil Jedi
- Messages : 5379
- Enregistré le : 08 août 2020 11:40
-
Glaetitia
- Ewok
- Messages : 18
- Enregistré le : 17 août 2020 13:23
Re: Indicateur OPR (Open Price Range)
ok , merci
, bonne journée a tous 
-
Francmot
- Compagnon Jedi
- Messages : 1715
- Enregistré le : 01 sept. 2020 07:58
Re: Indicateur OPR (Open Price Range)
Excellent travail ! Grand merci à Ozmizrak et Max 
-
Francmot
- Compagnon Jedi
- Messages : 1715
- Enregistré le : 01 sept. 2020 07:58
Re: Indicateur OPR (Open Price Range)
Comme je ne l'utilise que pour le marché US, j'ai apporté les petites modifications nécessaires pour éviter l'ennui de "Amerique n'est pas défini". Les lignes que j'ai modifiées sont en caractères gras. J'ai noté également ce qu'il faut écrire pour appliquer l'indicateur à l'Europe.
Merci encore Ozmizrak
//Méthode OPR Open Price Range
//High et Low des 15 premières minutes à l'ouverture du marché
//OZMIZRAK
defparam drawonlastbaronly = true
Once OPRHigh = 0
Once OPRLow = 999999
//Reinit A Chaque Fin de Jour de Cotation
If Time = 220000 Then //Europe 173000
OPRHigh = 0
OPRLow = 999999
EndIf
If Time > 153000 and Time =< 154500 Then //Europe 090000 and 091500
If High[0] > OPRHigh Then
OPRHigh = High[0]
EndIf
If Low[0] < OPRLow Then
OPRLow = Low[0]
EndIf
EndIf
//OPR Europe
//If Time > 090000 and Time =< 091500 Then
//If High[0] > OPRHigh Then
//OPRHigh = High[0]
//EndIf
//If Low[0] < OPRLow Then
//OPRLow = Low[0]
//EndIf
//EndIf
DRAWTEXT(" ▲ #OPRHigh# OPR High",barindex,OPRHigh,SansSerif,Bold,10) Coloured( 0, 153, 153)
DRAWTEXT(" ▼ #OPRLow# OPR Low", barindex,OPRLow, SansSerif,Bold,10) Coloured(153, 0, 0)
Return OPRHigh COLOURED(0, 153, 153) STYLE(DOTTEDLINE,2) AS "OPR High", OPRLow COLOURED(153, 0, 0) STYLE(DOTTEDLINE,2) AS "OPR Low"
Merci encore Ozmizrak
//Méthode OPR Open Price Range
//High et Low des 15 premières minutes à l'ouverture du marché
//OZMIZRAK
defparam drawonlastbaronly = true
Once OPRHigh = 0
Once OPRLow = 999999
//Reinit A Chaque Fin de Jour de Cotation
If Time = 220000 Then //Europe 173000
OPRHigh = 0
OPRLow = 999999
EndIf
If Time > 153000 and Time =< 154500 Then //Europe 090000 and 091500
If High[0] > OPRHigh Then
OPRHigh = High[0]
EndIf
If Low[0] < OPRLow Then
OPRLow = Low[0]
EndIf
EndIf
//OPR Europe
//If Time > 090000 and Time =< 091500 Then
//If High[0] > OPRHigh Then
//OPRHigh = High[0]
//EndIf
//If Low[0] < OPRLow Then
//OPRLow = Low[0]
//EndIf
//EndIf
DRAWTEXT(" ▲ #OPRHigh# OPR High",barindex,OPRHigh,SansSerif,Bold,10) Coloured( 0, 153, 153)
DRAWTEXT(" ▼ #OPRLow# OPR Low", barindex,OPRLow, SansSerif,Bold,10) Coloured(153, 0, 0)
Return OPRHigh COLOURED(0, 153, 153) STYLE(DOTTEDLINE,2) AS "OPR High", OPRLow COLOURED(153, 0, 0) STYLE(DOTTEDLINE,2) AS "OPR Low"
-
Francis1
- Le Sage
- Messages : 30212
- Enregistré le : 20 mars 2019 15:50
