Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 6933
- Rating:
- Published:
- 2022.05.30 19:51
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Indicator
The 'Ask' line is formed as the 'Close' price + the value from the 'spread' array (we take the array from OnCalculate)
int OnCalculate(const int rates_total, const int prev_calculated, const datetime &time[], const double &open[], const double &high[], const double &low[], const double &close[], const long &tick_volume[], const long &volume[], const int &spread[])
Pic. 1. Candles Ask

Two 'Main' lines from two iStochastic (Stochastic Oscillator, STO) indicators with filled areas between the lines. Line crossing notifications (Sound, Alert, mail, push)

Strategy based on custom indicator 'RSI Dual Cloud'. Four types of signals

The script (not an Expert Advisor) sets and moves the Stop Loss for all positions on the current symbol to the specified price

iVIDYA (Variable Index Dynamic Average) indicator with levels for N bars