Topics
Replies
alexander.n.fedorov
14 Jan 2019, 13:50
RE: RE:
alexander.n.fedorov said:
alexander.n.fedorov said:
Logged in.
Still, for me it is not clear
What I want to is if the order stoppped our, open new order in opposite directionat the point where it was stopped out. It will take me a week to figure out
Panagiotis, help, please
Rregards
Sasha
p.s. stopped out
@alexander.n.fedorov
alexander.n.fedorov
14 Jan 2019, 13:49
RE:
alexander.n.fedorov said:
Logged in.
Still, for me it is not clear
What I want to is if the order stoppped our, open new order in opposite directionat the point where it was stopped out. It will take me a week to figure out
Panagiotis, help, please
Rregards
Sasha
p.s. stoppet out
@alexander.n.fedorov
alexander.n.fedorov
14 Jan 2019, 13:49
Logged in.
Still, for me it is not clear
What I want to is if the order stoppped our, open new order in opposite directionat the point where it was stopped out. It will take me a week to figure out
Panagiotis, help, please
Rregards
Sasha
@alexander.n.fedorov
alexander.n.fedorov
13 Jan 2019, 18:03
How can I use that
position = args.Position;
position.StopLossTriggerMethod;
{
}
@alexander.n.fedorov
alexander.n.fedorov
14 Dec 2018, 06:21
RE:
alexander.n.fedorov said:
Dear Panatgiotios, Hi!
It started to worik
How do i calculate amount of lots for and index (index should be int number)
If I know the pair a and a stop size.
Could not remember
Alexander
Thank you, I remembered. Do not have to reply, unless you want to tell me good news on sentiment
@alexander.n.fedorov
alexander.n.fedorov
26 Nov 2018, 15:40
1. I think it would be a good idea to add to API "except"
2. Give the ability to add the name to the objekt
@alexander.n.fedorov
alexander.n.fedorov
26 Nov 2018, 15:12
The problem is that there are thousands lines based on index and other criteria by code and only few - hand made
May be there is an exeption?
@alexander.n.fedorov
alexander.n.fedorov
11 Nov 2018, 09:23
Hi, Panagiotis!
What I am actually doing is starting the cBot, which gives me a grafical setup, then (OnStart) I use a Timer.
While the timer is woking (60) seconds, I put the stop and limit orders (normally 2 - long and short) at whateever volume it is
Then , after the orders are place the bot looks at the risk, that I am willing to take, replaces the orders with a proper size, and, what is important , with proper lables
After that it kills the old orders, so by the end of timer I have 2 orders - long and short with a label
When one of the orders gets activated, the other one gets killed. The order looses StopLoss and TakeProfit, so , instead of a broker, my computer controls it
So, this is a long way to change position label
Regards,
Alexander
P..S. the Mouse event is good,but
1. it only works in 3.3. cTrader
2. It would be nice if were possible to control event, let us say with an Alt key
@alexander.n.fedorov
alexander.n.fedorov
10 Nov 2018, 17:47
Dear Panagiotis, hi!
How can I alter the above event, for example with a use of {AltKey}?
Regards,
Sasha
@alexander.n.fedorov
alexander.n.fedorov
07 Nov 2018, 07:26
RE: RE:
dhr.a.koning said:
alexander.n.fedorov said:
Dear Panagiotis, hi!
Basically, I was trying to write a method which whould return for the Dictionary<double, int> .Could not
the othe question is if som cBot could stop all the rest
Regards,
Sasha
The following will'return' 2 values from 1 method by using the explicit passing by reference:
private void doSomething() { Double Jo = 0; int Ho = 0; Dicty(ref Jo, ref Ho); Print("Jo={0}, Ho={1}", Jo, Ho); } private void Dicty(ref double val1, ref int val2) { val1 = 1.1; val2 = 2; }dear dhr.a koning. Thank you
Regards,
Sasha
@alexander.n.fedorov
alexander.n.fedorov
07 Nov 2018, 07:24
Deaar dr. a. koning!
The way I discovered is :
1 if you open a market position it takes pips , keep in mind them to be in correct format, f.e. if you have 50.42561 you will get a technical error
2. if you modify your position, then modification comes in price
you could made Bot remember a variable and use it to stop bot, and modify position by setting null;
3. As soon as you modified your order , when that info gets to the server the broker looses that information
Regards,
Sashsa
@alexander.n.fedorov
alexander.n.fedorov
05 Nov 2018, 14:29
Thanks, that is what I did, I thought that there maybe smth more direct in API
@alexander.n.fedorov
alexander.n.fedorov
05 Nov 2018, 10:52
Well, thank you again. There is so much to learn! Will never have enough time.
I made a cBot from this
What it does, it tries to locate Demand & Suplly zones, the ones where the institutions are trading.
Then I start the bot and with hands place pending order, stoploss & takeprofit.
The bot substitutes hard stops with bot line (OnTimer())
And if I have to stop the bot it updates the order (or the position by then) with an SL and TP
Could be interesting
If it will be, I'll let you know
Regards,
Sasha
@alexander.n.fedorov
alexander.n.fedorov
05 Nov 2018, 10:44
Hi, Panagiotis
I think it is a very helpfull event. I will have to try
Regards,
Sasha
@alexander.n.fedorov
alexander.n.fedorov
04 Nov 2018, 11:28
A little bit too congested, still helpfull,
And it works only on 3.3
The next quesion of mine is in my next thread.
As far as this on is concerned it is that: will it be difficult to convert to indicator?
And how can I achieve transparancy on the yellow cubes?
Regards,
Alexander
@alexander.n.fedorov
alexander.n.fedorov
04 Nov 2018, 11:25
( Updated at: 21 Dec 2023, 09:20 )
I solved the issue
The screen looks like that :
@alexander.n.fedorov
alexander.n.fedorov
15 Feb 2019, 14:58
RE:
alexander.n.fedorov said:
RE: during one candle
@alexander.n.fedorov