Join our fan page
- Views:
- 5110
- Rating:
- Published:
- 2021.12.08 04:13
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator can chart the spread between 2 instruments as a difference or as a ratio.
Settings:
Instrument1 - Enter a string of first instrument exactly as mentioned by broker
Instrument2 - Enter a string of second instrument exactly as mentioned by broker
Multiplier1 - A multiplying factor for first instrument
Multiplier2 - A multiplying factor for second instrument
ChartDifernce - A boolean which will chart difference between 2 instruments, set to false it will chart spread as a ratio
The spread chart appears in a separate window and then basic indicators can be applied to it like shown in the pictures.

The indicator highlights the value in "over Sold" and "over Bought" zones.

Moving Average Cloud draws 4 MAs on chart simultaneously in histogram style.

cycles though market watch symbols, using hotkeys Comma and Period for prev/next symbol in market watch list

Momentum deviation