[Archive!] Writing an advisor for free - page 30

 
StatBars >>:

А вот такая Вам не пойдёт?

Unfortunately, no. Rumus is a little different...
 

Hi all!

I have a request to programmers to write an Expert Advisor that would close the deal on the following parameters: in one window superimposed two indicators MAKD (12,26,9) and Stoch (5,9,3) with levels 20 and 80. When Stoch crosses the MACD signal line, the MACD should go beyond levels 20 or 80. I am attaching the figure for illustrative purposes.

 

Hello, I need to refine my Expert Advisor.

When one of the orders triggers, the opposite order is doubled and T/P is halved at the same time.

Example:

triggered BUYSTOP lot 0.1 T/P 100, S/L 50.
to the pending order SELLSTOP lot 0.1 T/P 100, S/L 50.
if BUY is closed
T/P all pending orders are deleted.
Files:
fxcasino.ru.mq4  13 kb
 

Hello.

Please write a simple Expert Advisor.

Buy: RSI(21) crosses the 50 level from bottom to top. Close the trade on crossing backwards.

Sell: RSI(21) crosses level 50 from top to bottom. Close trade on opposite crossover.

Thank you!

 
Baltimor >>:

Спасибо!

$20.
 

Please write an EA for the attached indicator, everything is simple - change colour to red - sale, to green - buy, S/L, T/P, lot - adjustable.

I'm using it for a long time, it's an excellent indicator (both trend-following and flat), I miss a lot of good trades at night.

My thanks to all!

I should add just in case, it only takes into account indicator colour changes after the close of a candle.

Files:
 
miha-28 >>:

Здравствуйте. Написал советник, пытаюсь его протестить с начала 2009 не дает и пишет вот что…

2010.04.30 23:21:09 TestGenerator: unmatched data error (high value 0.8767 at 2010.04.16 20:05 is not reached from the least timeframe, high price 0.8766 mismatches)

Что это может быть как это исправить?


Most likely. need to download the story
 
fortrader.ru >>:

Из прогеров никто не желает присоединится писать советников так скажем за "имя" в номере?

I've written to you in person
 
vtoroe_dyxanie >>:

Ваша правда, невнимательная я...

Насчет: " Я его использую с первого тика следующего бара когда он уже закрепился. Поэтому мне и нужно на первом тике узнать в советнике что же было на предыдущем баре??? " И правда интересно, а нельзя ли использовать

double iCustom( .... int shift)

всезнающая справка говорит о том, что

shift - Индекс получаемого значения из индикаторного буфера (сдвиг относительно текущего бара на указанное количество периодов назад).

интересно, а так можно записать (интересно самой стало)

for (i=0; i<limit;i++){

if (iCustom(NULL, 0,"sidus_v.2", 3, i+1)<0 && iCustom(NULL, 0,"sidus_v.2", 3, i)>0)

....

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

You can
 

Good afternoon! Please write an EA! I use 2 indicators moving EMA 5 with moving 3 and stochastic 4,2,2. BUY, when EMA crosses from the bottom upwards, stochastic should show a new crossing to buy. SELL - when crossing the EMA from the top downwards, stochastic should show a new crossing to sell. Thank you in advance! Regards kos17788!
Reason: