Auftrag beendet
Spezifikation
Indicator
The diference in pips between two market Symbols.
In my case I want to compare one Principal Market Index and its future Index.
Symbol A - External Symbol (Principal Market Index)
Symbol B – The Window that indicator is attached (Future Index)
Input Parameters:
External Symbol: Ex. Principal Market Index
Period: Time Frame OCHL of External Market Symbol
Number of Pips to calculate: (The difference between two Symbols)
Type of Pip Number Calculate Market Index (Symbol A)
· Price_Open
· Price_High
· Price_Close
· Price_Low
Type of Pip Number Calculate Atual (Symbol B – Windows that indicator is attached)
· Price_Open
· Price_High
· Price_Close
· Price_Low
Ex.01
If the parameters # number de pips are >= 100
Symbol A (External Market Index value) = 100.000 pips
Symbol B : 100.100 pips
Arrow to Sell (send buffer 0)
Ex.02
If the parameters # number de pips are >= 100
Symbol A (External Market Index value) = 100.000 pips
Symbol : 99.900 pips
Arrow to Buy (send buffer 1)
Observations:
The update ticks of the principal Market Index (Symbol A) is slower than the future index (Symbol B)
The time of the markets are diferents. The indicator need to use the last bar “open/high/close/low” reference.
Symbol A open at 10am and close 5pm
Symbol B open at 9am and close 6pm
At 9am to 10pm on Symbol B may uses the last day tick reference.