OrderMan - Ordering interface for NOW + Amibroker

But why does it complain when stop = max stop price
That's not 'MaxStopPrice'. Its 'Max Stop Size'.

Suppose you set MaxStopSize to 5 in the respective scrip.ini file, then your SL should ideally be less than 5 points. It means if your entry is at 200 your SL should be above 195 (assuming Long Position).

In your case your entry is at 497.5 and SL at 2.00 (SL should have been above 495.5 because you have set MaxStopSize at 2.00 in the scrip.ini file).
 

josh1

Well-Known Member
That's not 'MaxStopPrice'. Its 'Max Stop Size'.

Suppose you set MaxStopSize to 5 in the respective scrip.ini file, then your SL should ideally be less than 5 points. It means if your entry is at 200 your SL should be above 195 (assuming Long Position).

In your case your entry is at 497.5 and SL at 2.00 (SL should have been above 495.5 because you have set MaxStopSize at 2.00 in the scrip.ini file).
Correct but it certainly is not more than 2.00
 

josh1

Well-Known Member
You getting it wrong
stop of 2 on your screenshot mean if stock fall to 2 then it will hit
Here is eg
Entry - 497.5
Stop - 495.5
I know that. My màx stop size is 2 and stop in GUI is 2. I am getting message that stop is more than maximum allowed. It is not more than maximum allowed
Besides that, the app didn't pick price. I input it manually
 
I know that. My màx stop size is 2 and stop in GUI is 2. I am getting message that stop is more than maximum allowed
Yes, because your Stop is down 495.5 points (as visible in GUI) while you have set your maxStopSize at 2 points only (In .ini file).

Why shouldn't you get the warning :lol::lol:
 

josh1

Well-Known Member
You have to put stop in gui 495.5 or double click stop text It will calculate 2rs max stop from entry price
Okay. Got it.
Too many ini files. Can we make two ini files for scrips?

First file will contain ......
; Exchg-Seg,Inst Name,Symbol,Opt Type,Strike Price,Expiry Date(Set by Position Number)
Scrip = NFO,FUTIDX,NIFTY,,,1
Scrip = NFO,FUTSTK,AXISBANK_F,,,1

Second file will contain.............
Symbol,Qty,ProdType,MaxStopSize,MaxSlippage,DefaultStopSize,DefaultTargetSize,MinTargetStopDiff,TickSize
NIFTY,75,MIS,20,3,13,25,13,0.05
AXISBANK_F,1000,MIS,2,0.5,1.2,2,2,0.05