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

 
alex12:
why does the Grider advisor not work in my Finam terminal ?

Look at what the log says. What does it say?
 

Hello Experts, please help me to write an EA, here is a description:

EA opens stop orders in two different directions on number of delta distance, The trick is
In parameters we specify number of open orders, with number of zoom factor, and set
step between orders. Now the point is that if we set a distance of 50 between
pending buy and sell orders, the price went in the right direction, in this case a trawl is triggered,
with specified step, if trawl does not have time to work, in this case it increases the volume of orders in the opposite direction,
by specified coefficient.

If pending orders work 5 (this means 5 pending sell orders and 5 buy orders )

delta number (distance) 25 (this means from the current price the orders will be placed 25 points up and 25 points down)

delta order 5 (the distance between the pending orders) 0 (respectively all open at the same price)

Order Factor 2 (this is the coefficient increasing the volume of opening deals)

Initial lot 0.01

Fixing

Trawl 15 pips
Step 5

When a lock is triggered:

Profit in the currency of deposit is set, i.e., if the lock is formed, it starts to close it and as soon as the familiar numbers from
parameters are formed it closes all orders, and starts the cycle again.

This EA should also add a check parameter for open orders so that when the loop is done all orders

all orders will be closed so they don't hang. I would like to state it this way.


Thank you in advance for your help.

 
FOReignEXchange:

Look at what the magazine says. What does it say?
2011.07.04 10:24:34 2011.06.24 21:51 Grider EURUSD,M1: The Step parameter shall be greater than 100 and less than 10,000 pips.
2011.07.04 10:24:34 PM Grider inputs: Lots=0.05; Step=12; MaxOrdersOnSide=2; MagicNumber=4569;
2011.07.04 10:24:12 Grider: loaded successfully
 
alex12:
2011.07.04 10:24:34 2011.06.24 21:51 Grider EURUSD,M1: The Step parameter must be greater than 100 and less than 10,000 pips.
2011.07.04 10:24:34 Grider inputs: Lots=0.05; Step=12 MaxOrdersOnSide=2; MagicNumber=4569;
2011.07.04 10:24:12 Grider: loaded successfully


Can you read?
 
PapaYozh:

Can you read?

I can't resist an offtopic, I'll erase it later. From the early Edward Ouspensky:

"Ustin, Flying in the Clouds. With difficulty..."

 
PapaYozh:

Can you read?
Thank you very much - I set step = 111 and immediately the gridiron opened the poses.
 

I ran it ( Grider ) on the euro-dollar M1 from 2011.01.01 till today - not a single minus.

I have not saved the reports for some reason from the terminal, otherwise I would have posted them here. The test is fast - even visually.


 
I tested it. The % gain is minimal and if you increase the lot, it drains quickly.
 
FOReignEXchange:
I tested it. The % gain is minimal and if you increase the lot, it drains quickly.
I set the lot to 0.05 in the terminal
 
Who can write an advisor, do drop me a line?
Reason: