Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

open_close&stochastic_strategy - expert for MetaTrader 4

Views:
15801
Rating:
(7)
Published:
2008.10.06 07:01
Updated:
2014.04.21 14:53
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

I will describe here the strategy itself the program was designed by.

The buying is performed:

1. when the stochastic's signal line is bleow the main one;

2. when the open and close prices of the next candlestick is above the open and close prices of the previous candlestick.

The selling is performed in the opposite direction. The same is perfromed with opening and closing the positions, i.e. the buying is closed by selling and so it is placed on selling.

I can't debug the program. It performs many wrong trades not by the strategy. Please, tell me where the errors may be in the program.

And if the TP=SL=15 is placed the error 130 wrong stop occurs, how can I correctly place the stops to avoid the error appearance.

If there is something incomprehensible in the strategy write me, I will explain. I work for a long time with this strategy but I do it manually. It brings a good profit. But the program falls short.

I'm waiting for your replies. I will appreciate.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/8456

Info Info

Spread, swap, minimum stop limit, price of a point, calculated maximum lot!!!

Indicator i-Regr H&L. Channel of Regression by High and Low Prices Indicator i-Regr H&L. Channel of Regression by High and Low Prices

The indicator draws the channel of regression by High and Low prices.

10 pips a day opposite "yesterday's trend" 10 pips a day opposite "yesterday's trend"

Is it possible to take just 10 pips a day? This EA tries to do it.

Indicator of Equity and Balance Indicator of Equity and Balance

The indicator draws the charts of equity and balance by the data of account's history, it uses the current opened positions for updating the charts in the real time mode as well.