Trade system 2 minutes to midnight

 

two minutes to midnight

 

two minutes to midnight

Files:
 

two minutes to midnight

 

two minutes to midnight

 

two minutes to midnight

 

two minutes to midnight

 

Thank you men \m/

 

Thanks man, also Iam Maiden Fan.....

 

TF ? / M5 or >H1 /

 

Советник работает в паре 2_Minutes_To_Midnight8 с индикатором на любом таймфрейме и любой валютной паре на демо, реале счете, что на 4 знаковой и 5 знаковой цены пары.

Для срабатывания советника при необходимости нажать в окне задач (советник), в общих настройках отметить галочкой (разрешить советнику торговать).

Примечание советника. Открывает позиции уже на второй свече, когда сформировалась стрелочка на куплю или продажу, а не на первой. Необходимо для фиксирования цены по стрелки. Чтобы при достаточной волатильности рынка и низком таймфрейме стрелочка может сразу не зафиксироваться.

StopLoss и TakeProfit работают в оба направления нужно задавать только положительное число или 0, если 0 то стоп не выставляется.

Описание переменных:

USE_all_TF //если true ищутся сигналы на каждом

ТФ, если хотя бы на одном нет то сигнал не считается,

//если false то сигнал берётся только с текущего ТФ

extern bool CloseOpen=true; // если true при противотоложном сигнале закрывает существующую позицию и открывает новую

extern double StopLoss=40; //размер стоплосса в пунктах

extern double TakeProfit=40; //размер тейк профита в пунктах

extern bool UsePercentStops=false; //если true будут использаваться переменные стопов выраженные в процентах

extern double percent.StopLoss=2; // процент допустимого убытка

extern double percent.TakeProfit=2; //процент допустимого профита

extern double Lot=0.01; // - лот

extern double StartBezubytok=40; //Расстояние на которое должна отойти цена в профит от цены открытия ордера что бы сработал безубыток

extern double delta_bezubytok=1; //расстояние от цены открытию ордера, на которое перемещаеться стоп лосс при безубытке

extern int Magik=12345; // - магическое число, если используеться несколько копий данного советника на одном счёте, то это число должно быть разным у каждой копии

extern double TrailingStop=30; // - трейлинг стоп, если 0 то не работает

extern string _="Настройки индикатора 2_Minutes_To_Midnight8";

extern int Length=8; // Bollinger Bands Period (значение должно быть одинаковым индикатора и советника для верного срабатывания).

extern int Deviation=1; // Deviation was 2

extern double MoneyRisk=1.00; // Offset Factor

extern int Signal=1; // Display signals mode: 1-Signals & Stops; 0-only Stops; 2-only Signals;

extern int Line=1; // Display line mode: 0-no,1-yes

extern int Nbars=1000;

Входные параметры индикаторов:

2_Minutes_To_Midnight1

Показывает цену пары и проценты купли и продажи.

2_Minutes_To_Midnight2

Индикатор линии прогноза.

2_Minutes_To_Midnight3

Показывает спад и подъем пары вверх и вниз под каждую свечу.

2_Minutes_To_Midnight4

Линии фибоначчи показывают цену пары.

2_Minutes_To_Midnight5

Внутренний канал показывает тренд восходящий, нисходящий,боковой.

2_Minutes_To_Midnight6

Индикатор трендовых линий.

High_period=70; Значение старшего периода. Желательно от 50. Он будет определять глобальные импульсы.

Low_period=21; Значение младшего период. Желательно не менее 10. Меньшие значения могут создать ошибки.

Trigger_Sens=2;Чувствительность расчетов. Чем выше тем менее чувствителен, чем ниже тем больше ошибок.

StayLinesAfterDelete=false; Если будет TRUE все трендовые линии остануться на графике после уборки индикатора.Берете 4-х часовой таймфрейм, устанавливаете индикатор, StayLinesAfterDelete в TRUE и получаете линии. Убираете индикатор. Меняете таймфрейм на 15 минут. и получаете трендовые линии 4-х часовой таймфрейм. Устанавливаете индикатор и получаете новые линии, которые уточняют 4-х часовые.

DrawHighPivotSemafor=True; True рисует сигналы высокого периода, false - не рисует сигналы высокого периода

DrawLowPivotSemafor=True, false только для меньшего периода

DrawHighTrendLine=True; True автоматически рисует трендовые линии старшего периода, false - не рисует

HighTrendLineResColor=Red; Цвет трендовых линий сопротивления старшего периода (т.е. те что сверху)

HighTrendLineSupColor=Maroon; Цвет трендовых линий поддержки старшего периода (т.е. те что снизу)

HighTrendLineStyle=2; Стиль линии: сплошная-0, прерывистая и т.д. По умолчанию прерывистая

HighTrendLineWidth=0; Тольщина линии: от 0 до 4. Тольщина меняется при условии если стиль линии 0

HighTrendLineExt=1.5; Коэфициент продления трендовой линии в будущее. Т.е. трендовая линиия не останавливается на второй точке, а продлевается вперед. Если 1 - никакого продления, линия начинается в первой точке и заканчивается во второй. Если 1.5 - линия будет удлинена в 1.5 раза и т.д.

HighTrendLineInMemory=10; Чтобы не захломлять график линиями всей истории, оставляет столько сколько захотите. Если 0 рисует все трендовые линии истории.

Настройки трендовых линий младшего периода точно такие же как и старшего.

2_Minutes_To_Midnight7

Информационный индикатор показывает ожидание, куплю и продажу. По этому индикатору лучше не торговать. Индикатор именно информационный, а не для торговли.

2_Minutes_To_Midnight8

Индикатор купли и продажи.

Функция Length - период купли и продажи. Желательно выставлять стоп лосс.

Свойства soundON - включить (false) и (true) выключить сигнал на покупку или продажу.

2_Minutes_To_Midnight9

Показывает оставшееся время свечи.

2_Minutes_To_Midnight10

Индикатор прогноза.

Look Back - сколько последних свечей на графике брать для сравнения с историей. Количество баров в блоке.

Look Forward - на сколько свечей выдавать прогноз

Сколько свечей брать для анализа из истории (анализируются наиболее поздние данные). Если поставить 0, будет производиться анализ всей доступной истории.

Correlation Data - параметры сравнения. По умолчанию стоит OHLC - это означает, что поиск совпадений происходит с учетом цен Open, High, Low, Close каждой свечи и полученный массив данных суммируется и усредняется. Можно добавить буквы M (Median), T (Typical), W (Weighted).

Cor Threshold - процент совпадения выше которого индикатор будет учитывать данные для вывода среднего прогноза. Т.е. все совпадения с процентом схожести, ниже указанного в этом параметре учитываться не будут.

Select Best Correlations - сколько максимум совпадений учитывать для расчета среднего прогноза (оранжевый туннель на графике). Если поставить 0, будут учитывать все найденные совпадения с высоким процентом.

Display Options - возможность отключить часть интерфейса индикатора на графике. T - информационное окно (синее, вверху слева), А - средний прогноз, B - наилучшее совпадение, R - прямоугольное выделение анализируемого блока свечей на графике.

Avg Projection Color - цвет усредненного прогноза

Best Projection Color - цвет графика наилучшего совпадения

Text Size - размер текста на графике

Text Font - шрифт

Window Screenshot - есть функция снятия скриншотов в автоматическом режиме. Если стоит 0, функция не используется. Если стоит 1, то индикатор будет делать снимок экрана с каждым новым баром, если 4 - каждые 4 свечи, если 5 - каждые 5 свечей и т.д.

2_Minutes_To_Midnight11

Индикатор подъема и спада тренда.

Mainrzz - расcтояние между подчеркиваниями

DrawZZ - включение и выключение zigzag линии

 

Google translate

Advisor works in tandem with 2_Minutes_To_Midnight8 indicator in any time frame and any currency pair on the demo, real analysis, which is 4, and 5 of the sign sign prices pair.

To fire a counselor if necessary to press in the Task window (Advisor), in general settings check (to allow live trading).

Note adviser. Opens a position on the second candle was formed when the arrow on the sale or purchase, not the first. Necessary to fix prices on the arrow. That at sufficiently low market volatility and timeframe arrow can not directly engage.

StopLoss and TakeProfit work in both directions you need only specify a positive number or 0 if 0 is still not exhibited.

Description of variables:

USE_all_TF / / if true signals are looked at each

TF, if at least one is not that the signal is not considered

/ / If false, the signal is taken only from the current TF

extern bool CloseOpen = true; / / if true when protivotolozhnom signal closes the existing position and opens a new

extern double StopLoss = 40, / / ​​size of stop loss in points

extern double TakeProfit = 40 / / size of the take profit in points

extern bool UsePercentStops = false; / / if true will ispolzavat variables are expressed as a percentage of stops

extern double percent.StopLoss = 2 / / percentage of allowable loss

extern double percent.TakeProfit = 2 / / percentage of allowable profit

extern double Lot = 0.01; / / - Lot

extern double StartBezubytok = 40 / / The distance by which to move the price in profit from the opening price of a warrant that would breakeven load

extern double delta_bezubytok = 1, / / ​​distance from the opening price of a warrant, on which peremeschaetsya stop loss at bezubytka

extern int Magik = 12345 / / - the magic number, if you use multiple copies of the adviser on the same account, then it should be different for each copy

extern double TrailingStop = 30 / / - trailing stop, if that does not work 0

extern string _ = "display settings 2_Minutes_To_Midnight8";

extern int Length = 8; / / Bollinger Bands Period (the value should be the same indicator and an adviser to the correct response.)

extern int Deviation = 1; / / Deviation was 2

extern double MoneyRisk = 1.00; / / Offset Factor

extern int Signal = 1; / / Display signals mode: 1-Signals & Stops; 0-only Stops; 2-only Signals;

extern int Line = 1; / / Display line mode: 0-no ,1-yes

extern int Nbars = 1000;

Input parameters of indicators:

2_Minutes_To_Midnight1

Shows the price of a pair and the interest of buying and selling.

2_Minutes_To_Midnight2

The indicator line of the forecast.

2_Minutes_To_Midnight3

Shows the recession and the rise of a pair of up and down under each candle.

2_Minutes_To_Midnight4

Fibonacci lines indicate the price pair.

2_Minutes_To_Midnight5

The inner channel shows the trend is up, down, side.

2_Minutes_To_Midnight6

The indicator of the trend lines.

High_period = 70; Value of the high period. Preferably 50. It will determine the global impulses.

Low_period = 21; Value of the low period. Preferably not less than 10. Smaller values ​​can create errors.

Trigger_Sens = 2 Sensitivity calculations. The higher the less sensitive than the more errors below.

StayLinesAfterDelete = false; If TRUE will all trend lines remain on schedule after cleaning indikatora.Berete 4-hour timeframe, set the indicator, StayLinesAfterDelete to TRUE and get the line. Take away the indicator. Change the time frame of 15 minutes. and get trendlines 4-hour timeframe. Set the display and get a new line, which specify the 4-hourly.

DrawHighPivotSemafor = True; True draws a period of high signals, false - does not draw high signal period

DrawLowPivotSemafor = True, false only for a smaller period

DrawHighTrendLine = True; True automatically draws trendlines older period, false - does not draw

HighTrendLineResColor = Red; Color Trend line resistance of the older period (ie, those on the top)

HighTrendLineSupColor = Maroon; Color Trend line support older period (ie, those that from the bottom)

HighTrendLineStyle = 2, line style: solid-0, dash, etc. Default dashed

HighTrendLineWidth = 0; Thickness of lines from 0 to 4. Thickness of changes provided if the line style 0

HighTrendLineExt = 1.5; Coefficient of extension of the trend line in the future. That is, liniiya trend does not stop at the second point, and extended forward. If 1 - no extension, the line starts at the first point and ends in the second. If 1.5 - the line will be extended by a factor of 1.5, etc.

HighTrendLineInMemory = 10; zahlomlyat To schedule lines throughout history, leaving as many as you want. If 0 draws all trendlines stories.

Setting the trend lines younger period are the same as the older one.

2_Minutes_To_Midnight7

Information display shows the wait, buy and sell. According to this indicator, it is better not to trade. The indicator is information, not for trading.

2_Minutes_To_Midnight8

Indicator of buying and selling.

Feature Length - the period of purchase and sale. It is desirable to put a stop loss.

Properties soundON - enable (false) and (true) turn off the signal to buy or sell.

2_Minutes_To_Midnight9

Displays the remaining candles.

2_Minutes_To_Midnight10

Indicator of prognosis.

Look Back - is how many candles on the chart to take for comparison with the story. The number of bars in the block.

Look Forward - to issue a forecast of how many candles

How many candles to take for the analysis of the stories (the most recent data analyzed). If set to 0, will be analyzed all the available stories.

Correlation Data - compare options. The default is OHLC - this means that the search for a match occurs with the prices Open, High, Low, Close each candle, and the resulting data set is summed up and averaged. You can add the letter M (Median), T (Typical), W (Weighted).

Cor Threshold - matching percentage above which the light will take, to bring the average forecast. That is, all matches with a percentage of similarity below specified in this parameter will be ignored.

Select Best Correlations - how many maximum of matches considered for the calculation of the average forecast (orange tunnel on the chart). If set to 0, will take into account all the matches found in a high percentage.

Display Options - option to disable the display of the interface on the chart. T - message box (blue, top left), A - average forecast, B - the best match, R - a rectangular selection of the analyzed block candle on the chart.

Avg Projection Color - color of the average forecast

Best Projection Color - color graphics best match

Text Size - the size of the text on the chart

Text Font - Font

Window Screenshot - is a function of making screenshots automatically. If set to 0, the function is not used. If there is one, then the light will take a picture of the screen with every new bar that 4 - every 4 candles, if 5 - every 5 candles, etc.

2_Minutes_To_Midnight11

Indicator of the rise and fall trend.

Mainrzz - Overhang between the underscore

DrawZZ - on and off the zigzag line

Last edited by konrans; Today at 07:40 AM.

Reason: