�嶯�ֱ�����ǻ�L2����.�÷�:���������,֦��ָ��.�嶯�ֱ�ָ������[�ֱʳɽ�].
�嶯�ֱ�����ǻ�L2����.�÷�:���������,֦��ָ��.�嶯�ֱ�ָ������[�ֱʳɽ�].
Դ˶:
����1:=askprice(1);
���1:=bidprice(1);
����1:=bidvol(1);
����1:=askvol(1);
����2:=askprice(2);
���2:=bidprice(2);
����2:=bidvol(2);
����2:=askvol(2);
����3:=askprice(3);
���3:=bidprice(3);
����3:=bidvol(3);
����3:=askvol(3);
BS:=intpart(2000/c+0.5);
NS:=IF(STRFIND(STKNAME,'N',1),0,1);
��ͣ:=if(NS>0 and c=dynainfo(54) and ί����1=0,1,0);
��ͣ:=if(NS>0 and c=dynainfo(55) and ί����1=0,1,0);
��ͣ��:=if(��ͣ>0 or ��ͣ>0,0,1);
��ͣ��:=if(��ͣ>0,vol,0);
��ͣ��:=if(��ͣ>0,vol,0);
������:=if(BARSTATUS=1 and DYNAINFO(4)>=DYNAINFO(3),vol,0);
������:=if(BARSTATUS=1 and DYNAINFO(4)<DYNAINFO(3),vol,0);
����0a:=if(CLOSE=ref(���1,1) and ���1=ref(���1,1) and ref(����1,1)>����1 and BUYVOL<=(ref(����1,1)-����1),BUYVOL,0);
����0a:=if(CLOSE=ref(���1,1) and ���1=ref(���1,1) and ref(����1,1)>����1 and BUYVOL>(ref(����1,1)-����1),ref(����1,1)-����1,0);
����0a:=IF(����0a>0,BUYVOL-����0a,0);
����0b:=if(CLOSE>=ref(���1,1) and CLOSE<REF(����1,1) and ���1>ref(���1,1) and BUYVOL<=ref(����1,1),BUYVOL,0);
����0b:=if(CLOSE>=ref(���1,1) and CLOSE<REF(����1,1) and ���1>ref(���1,1) and BUYVOL>ref(����1,1),ref(����1,1),0);
����0b:=IF(����0b>0,BUYVOL-����0b,0);
����1a:=IF(CLOSE=REF(����1,1) and ����1=ref(����1,1) and ref(����1,1)>����1 and BUYVOL<=(ref(����1,1)-����1),BUYVOL,0);
����1a:=if(CLOSE=ref(����1,1) and ����1=ref(����1,1) and ref(����1,1)>����1 and BUYVOL>(ref(����1,1)-����1),ref(����1,1)-����1,0);
����1a:=IF(����1a>0,BUYVOL-����1a,0);
����1b:=IF(CLOSE>=REF(����1,1) and CLOSE<REF(����2,1) and ����1>ref(����1,1) and BUYVOL<=ref(����1,1),BUYVOL,0);
����1b:=if(CLOSE>=REF(����1,1) and CLOSE<REF(����2,1) and ����1>ref(����1,1) and BUYVOL>ref(����1,1),ref(����1,1),0);
����1b:=IF(����1b>0,BUYVOL-����1b,0);
����2a:=IF(CLOSE=REF(����2,1) and ����1=ref(����2,1) and REF(����2,1)>����1 and BUYVOL<=(REF(����1,1)+REF(����2,1)-����1),BUYVOL,0);
����2a:=IF(CLOSE=REF(����2,1) and ����1=ref(����2,1) and REF(����2,1)>����1 and BUYVOL>(REF(����1,1)+REF(����2,1)-����1),REF(����1,1)+REF(����2,1)-����1,0);
����2a:=IF(����2a>0,BUYVOL-����2a,0);
����2b:=IF(CLOSE>=REF(����2,1) AND CLOSE<REF(����3,1) and ����1>ref(����2,1) and BUYVOL<=(REF(����1,1)+REF(����2,1)),BUYVOL,0);
����2b:=IF(CLOSE>=REF(����2,1) AND CLOSE<REF(����3,1) and ����1>ref(����2,1) and BUYVOL>(REF(����1,1)+REF(����2,1)),REF(����1,1)+REF(����2,1),0);
����2b:=IF(����2b>0,BUYVOL-����2b,0);
����3a:=IF(CLOSE=REF(����3,1) and ����1=ref(����3,1) and REF(����3,1)>����1 and BUYVOL<=(REF(����1,1)+REF(����2,1)+REF(����3,1)-����1),BUYVOL,0);
����3a:=IF(CLOSE=REF(����3,1) and ����1=ref(����3,1) and REF(����3,1)>����1 and BUYVOL>(REF(����1,1)+REF(����2,1)+REF(����3,1)-����1),REF(����1,1)+REF(����2,1)+REF(����3,1)-����1,0);
����3a:=IF(����3a>0,BUYVOL-����3a,0);
����3b:=IF(CLOSE=REF(����3,1) and ����1>ref(����3,1) and BUYVOL<=(REF(����1,1)+REF(����2,1)+REF(����3,1)),BUYVOL,0);
����3b:=IF(CLOSE=REF(����3,1) and ����1>ref(����3,1) and BUYVOL>(REF(����1,1)+REF(����2,1)+REF(����3,1)),REF(����1,1)+REF(����2,1)+REF(����3,1),0);
����3b:=IF(����3b>0,BUYVOL-����3b,0);
����4a:=IF(REF(����3,1)>0 AND CLOSE>REF(����3,1) and BUYVOL>(REF(����1,1)+REF(����2,1)+REF(����3,1)),BUYVOL,0);
����:=����0a+����0b+����1a+����1b+����2a+����2b+����3a+����3b+����4a;
����:=if(��ͣ��>0,if(����>0,����,����0a+����0b+����1a+����1b+����2a+����2b+����3a+����3b),0);
����:=if(��ͣ��>0,����0a+����0b+����1a+����1b+����2a+����2b+����3a+����3b,0);
����0a:=if(CLOSE=ref(����1,1) and ����1=ref(����1,1) and ref(����1,1)>����1 and SELLVOL<=ref(����1,1)-����1,SELLVOL,0);
����0a:=if(CLOSE=ref(����1,1) and ����1=ref(����1,1) and ref(����1,1)>����1 and SELLVOL>ref(����1,1)-����1,ref(����1,1)-����1,0);
����0a:=IF(����0a>0,SELLVOL-����0a,0);
����0b:=if(CLOSE<=ref(����1,1) and CLOSE>ref(���1,1) and ����1<ref(����1,1) and SELLVOl<=ref(����1,1),SELLVOl,0);
����0b:=if(CLOSE<=ref(����1,1) and CLOSE>ref(���1,1) and ����1<ref(����1,1) and SELLVOl>ref(����1,1),ref(����1,1),0);
����0b:=IF(����0b>0,SELLVOL-����0b,0);
����1a:=if(CLOSE=ref(���1,1) and ���1=ref(���1,1) and ref(����1,1)>����1 and SELLVOl<=ref(����1,1)-����1,SELLVOl,0);
����1a:=if(CLOSE=ref(���1,1) and ���1=ref(���1,1) and ref(����1,1)>����1 and SELLVOl>ref(����1,1)-����1,ref(����1,1)-����1,0);
����1a:=IF(����1a>0,SELLVOL-����1a,0);
����1b:=if(CLOSE<=ref(���1,1) and CLOSE>REF(���2,1) and ���1<ref(���1,1) and SELLVOl<=ref(����1,1),SELLVOl,0);
����1b:=if(CLOSE<=ref(���1,1) and CLOSE>REF(���2,1) and ���1<ref(���1,1) and SELLVOl>ref(����1,1),ref(����1,1),0);
����1b:=IF(����1b>0,SELLVOL-����1b,0);
����2a:=if(CLOSE=ref(���2,1) and ���1=ref(���2,1) and ref(����2,1)>����1 and SELLVOl<=(ref(����1,1)+REF(����2,1)-����1),SELLVOl,0);
����2a:=if(CLOSE=ref(���2,1) and ���1=ref(���2,1) and ref(����2,1)>����1 and SELLVOl>(ref(����1,1)+REF(����2,1)-����1),ref(����1,1)+REF(����2,1)-����1,0);
����2a:=IF(����2a>0,SELLVOL-����2a,0);
����2b:=if(CLOSE<=ref(���2,1) and CLOSE>REF(���3,1) and ���1<ref(���2,1) and SELLVOl<=(ref(����1,1)+REF(����2,1)),SELLVOl,0);
����2b:=if(CLOSE<=ref(���2,1) and CLOSE>REF(���3,1) and ���1<ref(���2,1) and SELLVOl>(ref(����1,1)+REF(����2,1)),ref(����1,1)+REF(����2,1),0);
����2b:=IF(����2b>0,SELLVOL-����2b,0);
����3a:=if(CLOSE=ref(���3,1) and ���1=ref(���3,1) and ref(����3,1)>����1 and SELLVOl<=(ref(����1,1)+REF(����2,1)+REF(����3,1)-����1),SELLVOl,0);
����3a:=if(CLOSE=ref(���3,1) and ���1=ref(���3,1) and ref(����3,1)>����1 and SELLVOl>(ref(����1,1)+REF(����2,1)+REF(����3,1)-����1),ref(����1,1)+REF(����2,1)+REF(����3,1)-����1,0);
����3a:=IF(����3a>0,SELLVOL-����3a,0);
����3b:=if(CLOSE=ref(���3,1) and ���1<ref(���3,1) and SELLVOl<=(ref(����1,1)+REF(����2,1)+REF(����3,1)),SELLVOl,0);
����3b:=if(CLOSE=ref(���3,1) and ���1<ref(���3,1) and SELLVOl>(ref(����1,1)+REF(����2,1)+REF(����3,1)),ref(����1,1)+REF(����2,1)+REF(����3,1),0);
����3b:=IF(����3b>0,SELLVOL-����3b,0);
����4a:=IF(REF(���3,1)>0 and CLOSE<REF(���3,1) and SELLVOL>(REF(����1,1)+REF(����2,1)+REF(����3,1)),SELLVOL,0);
����:=����0a+����0b+����1a+����1b+����2a+����2b+����3a+����3b+����4a;
����:=if(��ͣ��>0,if(����>0,����,����0a+����0b+����1a+����1b+����2a+����2b+����3a+����3b),0);
����:=if(��ͣ��>0,����0a+����0b+����1a+����1b+����2a+����2b+����3a+����3b,0);
������:=if(������>=BS,������,0);
����ͣ��:=if(��ͣ��>=BS,��ͣ��,0);
����:=if(����>=BS,����,0);
������:=if(����>=BS,����,0);
������:=if(������>=BS,������,0);
���ͣ��:=if(��ͣ��>=BS,��ͣ��,0);
������:=if(����>=BS,����,0);
������:=if(����>=BS,����,0);
������:=������+����ͣ��+����+������;
��������:=������+���ͣ��+������+������;
������:sum(������,0);
������:sum(��������,0);
������:������-������;
����:(������/capital)*100;
�õú�!�ǵø������.ף��������!
�������� 0��һ��ʽ�� �����˶�Ҫ��ѡ�ɣ�Դ�� ��ͼ�� ��һ��ʽ�������ܼ�����ͼָ�� Դ�룩��ʲô���⣿�����ǽ��������ö��������|�����Ƽ�|�������� ͨ����423ͨ���š����������ͼ/ѡ�� ���ɱض��ϴ�5 ����ǿ�ƹ� ��������ʦ��Ʒ Դ�� ��ͼ�������︱ͼ���������ָ���õ�COST��������ϲ���¡�ʹ�÷���˵�����������ж�ֱ��...�����������