Trade system 2 minutes to midnight - page 2

 

To example Socrat translate.

The Adviser works in vapour(pair) 2_Minutes_To_Midnight8 with indicator on any TF and any exchange vapour(pair) on demo, real count that on 4 sign and 5 sign prices pair(vapour)s.

For activation adviser if required press in window of the problems (the adviser), in the total adjustment to note the mark (allow the adviser to trade).

The Note of the adviser. Opens the positions on the second candle already, when ed the arrow on verse or sale, rather then on the first. Required for fixing the price on arrows. To under sufficient volatility market and low TF arrow can immediately be not fixed.

StopLoss and TakeProfit work in both directions it is necessary to assign only positive number or 0 if 0 that foots is not exposed.

The Description variables:

USE_all_TF //if true are searched for signals on each TF if only for one no that signal is not considered, //if false that signal rs with current TF only

extern bool CloseOpen=true; // if true under opposite signal closes the existing position and opens new extern double StopLoss=40; //amount Stop Loss in points extern double TakeProfit=40; //amount Take profit in points extern bool UsePercentStops=false; //if true will be used variable foot expressed in percent extern double percent.StopLoss=2; // percent of the possible loss extern double percent.TakeProfit=2; //percent possible profit extern double Lot=0.01; // - a lot

extern double StartBezubytok=40; //Distance on which must leave the price in profit from the price of the opening of the warrant that has operated bezubytok extern double delta_bezubytok=1; //distance from the price opening warrant, on which moves the foots loss at bezubytok extern int Magik=12345; // - a magic number if it be used several mineses given adviser on one count, that this number must be different beside each copies extern double TrailingStop=30; // - trailing foots if 0 that does not work

extern string _="settings indicator 2_Minutes_To_Midnight8";

extern int Length=8; // Bollinger Bands Period (importance must be an alike indicator and adviser for faithfull activation).

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;

The Input parameters indicator:

2_Minutes_To_Midnight1

Shows the price pair(vapour)s and percent bathed and sale.

2_Minutes_To_Midnight2

The Indicator to lines of the forecast.

2_Minutes_To_Midnight3

Shows the decline and ascent pair(vapour)s upwards and under each candle downwards.

2_Minutes_To_Midnight4

The Lines fibonacci show the price pair(vapour)s.

2_Minutes_To_Midnight5

The Internal channel shows trend rising, top-down,lateral.

2_Minutes_To_Midnight6

The Indicator trend lines.

High_period=70; Importance of the senior period. Advisable from 50. He will define the global pulses.

Low_period=21; Importance younger period. Advisable not less 10. Smaller importances can create the mistakes.

Trigger_Sens=2;Sensitivity payment. Than above that more sensitive, than below that more mistake.

StayLinesAfterDelete=false; If will TRUE all trend to lines to remain on graph after cleaning the indicator.You Take 4-h sentry TF, install the indicator, StayLinesAfterDelete in TRUE and get to lines. You Take away the indicator. You Change TF on 15 minut. and get the трендовые to lines 4-h sentry TF. You Install the indicator and get the new lines, which elaborate 4-h sentry.

DrawHighPivotSemafor=True; True draws the signals of the high period, false - does not draw the signals of the high period DrawLowPivotSemafor=True, false only for smaller period DrawHighTrendLine=True; True automatically draws the трендовые to lines of the senior period, false - does not draw HighTrendLineResColor=Red; The Colour trend lines of the resistance of the senior period (i.e. that that overhand)

HighTrendLineSupColor=Maroon; The Colour trend lines of support of the senior period (i.e. that that from below) HighTrendLineStyle=2; The Style to lines: sploshnaya-0, faltering and etc. By default faltering HighTrendLineWidth=0; Tolischina lines: from 0 before 4. Tolischina is changed provided that style to lines 0 HighTrendLineExt=1.5; Koeficient extensions trend to lines in future. I.e. trend line does not stop on the second point, but is prolonged onward. If 1 - no extensions, line begins in the first point and ends in the second. If 1.5 - a line will be lengthened in 1.5 times and etc.

HighTrendLineInMemory=10; To not litter graph line to whole histories, leaves so much how much want. If 0 draws all trend to lines to histories.

Adjustment trend lines of the younger period exactly such either as senior.

2_Minutes_To_Midnight7

The Information indicator shows waiting, verse and sale. On this indicator better not to trade. The Indicator exactly information, rather then for trading.

2_Minutes_To_Midnight8

The Indicator buy and sale.

The Function Length - a period buy and sale. Advisable expose stoploss, takeprofit and trailing Stop.

The Characteristic soundON - include (false) and (true) switch off the signal on buying or sale.

2_Minutes_To_Midnight9

Shows remained time of the candle.

2_Minutes_To_Midnight10

The Indicator of the forecast.

Look Back - how much last candles on graph to take for comparison with historian. The Amount bar in block.

Look Forward - on how much candles to give forecast

How much candles to take for analysis from history (are analysed the most late given). If put(deliver) 0, will be produced analysis to whole available history.

Correlation Data - a parameters of the comparison. By default cost(stand)s OHLC - means that searching for of the coincidences comes of account of the prices Open, High, Low, Close each candles and received array given is totalized and averaged. Possible add the letters M (Median), T (Typical), W (Weighted).

Cor Threshold - a percent of the coincidence above which indicator will take into account given for conclusion of the average forecast. I.e. all coincidences with percent of the similarities, below specified in this parameter be taken into account not will.

Select Best Correlations - how much maximums of the coincidences to take into account for payment of the average forecast (the orange tunnel on graph). If put(deliver) 0, will take into account all found coincidences with high percent.

Display Options - a possibility to disconnect the part of interface of the indicator on graph. T - an information window (blue, at top left), But - an average forecast, B - a best coincidence, R - a square-wave allocation of the analysed block by candle on graph.

Avg Projection Color - a colour of the averaged forecast Best Projection Color - a colour graphics best coincidence Text Size - an amount of the text on graph Text Font - a font

Window Screenshot - there is function of the removing Screenshots in automatic mode. If cost(stand)s 0, function is not used. If cost(stand)s 1, that indicator will do the picture of the screen with each new bar if 4 - each 4 candles if 5 - each 5 candles and etc.

2_Minutes_To_Midnight11

The Indicator of the ascent and decline trend.

Mainrzz - rasctoyanie between underlinings

DrawZZ - a cut-in and shutdown zigzag lines.

 

Two minutes to midnight

 

Two minutes to midnight

 

Two minutes to midnight

 

Two minutes to midnight

 

trade system 2 minutes to midnight

Two minutes to midnight

 

Yandex translator

Advisor works in tandem 2_Minutes_To_Midnight8 with the indicator on any timeframe and any currency pair on a demo, real account, 4 significant and 5 sign rates pair.

To trip Advisor if necessary, click the tasks window (Advisor). In the General settings check (allow live trading).

Note Advisor. Opens a position on the second candle, when formed arrow on the purchase or sale, and not the first. It is necessary to fix prices on the arrows. To sufficient market volatility and low timeframe arrow may or may not fix itself.

Description of variables:

USE_all_TF //if true searched signals on each

TF, if any no signal is not considered

//if false, then the signal is taken only with a current timeframe

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

extern double StopLoss=40; //size of stop loss in paragraphs

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

extern bool UsePercentStops=false; //if true, will use the variables stops expressed as a percentage

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; //Distance to which should depart price to profit from the open price of the order that would have worked breakeven

extern double delta_bezubytok=1; //distance from the price of opening of the order to move the stop loss when breakeven

extern int Magik=12345; // magic number, if used multiple copies of this EA on a single account, the number should be different for each copy

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

extern string _="indicator Settings 2_Minutes_To_Midnight8";

extern int Length=8; // Bollinger Bands Period (number must be the same indicator and EA for correct operation).

extern int Deviation=1; // Deviation 2

extern double MoneyRisk=1.00; // Offset Factor

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

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

extern int Nbars=1000;

The input parameters of the indicators:

2_Minutes_To_Midnight1

Shows the price of the pair and interest purchase and sale.

2_Minutes_To_Midnight2

Indicator line forecast.

2_Minutes_To_Midnight3

Shows the decline and rise pair up and down at every candle.

2_Minutes_To_Midnight4

Fibonacci lines indicate the price of the pair.

2_Minutes_To_Midnight5

The internal channel shows the trend is up, top-down side.

2_Minutes_To_Midnight6

Indicator trend lines.

High_period=70; the Value of older age. Preferably from 50. It will identify global impulses.

Low_period=21; Value Junior period. It is desirable not less than 10. Smaller values may create errors.

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

StayLinesAfterDelete=false; If TRUE, all trend lines will remain on the graph after the cleaning indicator. Take a 4-hour timeframe, install indicator, StayLinesAfterDelete in TRUE and receive lines. Remove the indicator. Change the timeframe for 15 minutes and get the trend lines of the 4-hour timeframe. Set indicator and get a new line, which specify the 4-hour.

DrawHighPivotSemafor=True; True draws signals high period, false - does not draw signals high period.

DrawLowPivotSemafor=True, false, only for a lesser period

DrawHighTrendLine=True; True automatically draws the trend lines senior period, false - does not draw

HighTrendLineResColor=Red; Color trendline resistance senior period (i.e. those that top)

HighTrendLineSupColor=Maroon; Color trend lines support the older period (i.e. the bottom)

HighTrendLineStyle=2; line Style: solid-0, dashed and etc. default dashed

HighTrendLineWidth=0; line Thickness: from 0 to 4. Thickness varies if the style of a line 0

HighTrendLineExt=1.5; Coefficient of renewal of the trend line in the future. I.e. the trend line stops at the second point, is extended forward. If 1 - no extension, the line begins at the first point and ends in the second. If 1.5 - line will be extended by 1.5 times etc.

HighTrendLineInMemory=10; To not clutter up the graph lines throughout history, leaves as long as you want. If 0 draws all trend lines of history.

Setting the trend lines younger age is exactly the same as the older.

2_Minutes_To_Midnight7

Information indicator shows the expectation of buying and selling. On this indicator it is better not to trade. The indicator exactly news, and not to trade.

2_Minutes_To_Midnight8

Indicator of purchase and sale.

The Length function - the period of purchase and sale. It is desirable to put StopLoss,TakeProfit and Trailing Stop.

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

2_Minutes_To_Midnight9

Displays the remaining time of the candle.

2_Minutes_To_Midnight10

Indicator of prognosis.

Look Back - many last candle on the chart to take for comparison with the history. The number of bars in the block.

Look Forward to how many candles to give predictions

How many candles are taken for analysis of history (analyses the most recent data). If set to 0, will be analyzed all available history.

Correlation Data - compare options. The default is OHLC - this means that the search of matching takes into account the prices of Open, High, Low, Close each candle and the resulting array data is aggregated and averaged. You can add letter M (Median), T (Typical), W (Weighted).

Cor Threshold - the percentage of overlap above which the indicator will be taken into account data to output the average forecast. I.e. all matches with percentage of similarity is below specified in this parameter will not be counted.

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

Display Options - ability to disable the interface part of the indicator on the chart. T - information window (blue, top left), And is the average forecast, B - best match, R - rectangular selection analyzed block candles on the chart.

Avg Projection color - the color of the average forecast

Best Projection color - the color of the graph of the best coincidence

Text Size - the size of the text on a chart

Text Font - font

Window screenshot is a function of the screenshots in the silent mode. If there is a 0 function not used. If 1, then the indicator will take a screenshot with each new bar, if a 4 - every 4 candles, if 5 - every 5 candles etc.

2_Minutes_To_Midnight11

Indicator of the rise and fall of the trend.

Mainrzz - distance between underscores

DrawZZ - turn on and off zigzag line

 

I will try this one out. Thanks for sharing.

 

Thanks for sharing ....