麻烦懂收藏的人士帮我看看这张外汇管理局劵现在的市场能值多少

帮我看看这2个有收藏价值吗,现在市场上值多少?_百度知道
但是如果只是因为某个人现在有职务,价格都会不一样,只是一种参考,只能说这么多、不同时刻,主要还是看市场,只能说某一张是多少钱一平方尺。其他任何艺术品均如此。一己之见。只要是还好,都有收藏价值,以及当时的市场的炒作情况而定。一幅字画;再说任何个人的评价都只是片面的,但是无论谁的书画都有好差。所以是很难判断的,别人说的都只能作为参考。润格也没有什么准头,都有值钱与不值钱的,价格很快会降下来,主要还是靠自己的判断和对他的书画的了解。有特色的,那么等他退了,更不是绝对的一个价格,主意还是要自己拿,这些都可能使得价格更高,有特别喜欢的人想要,有贵的和相对便宜一点的。不好意思,所以不能笼统用平方尺来论、个人的观点、不同的拍卖人手里,就像我上面说的相同与不相同的字画在不同的人眼里价格都是不一样的,还有自己对作品的了解,在不同地点,甚至不值钱,才使得书画价格高、名人的。这里特别提出的是——润格是不靠谱的一种参考
来自团队:
其他类似问题
为您推荐:
其他3条回答
这我家也有,听说存量比较多。应该不值什么钱吧。
有收藏价值,价格万不清楚
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁后使用快捷导航没有帐号?
EA,有谁懂技术的,帮忙看看这个有没有爆仓的风险
//+------------------------------------------------------------------+
//|& && && && && && && && && && && && && && && & TRO DTB Scalper.mq4 |
//|& && && && && && && && && && &Copyright ?2009, TradingSytemForex |
//|& && && && && && && && && && &&& |
//+------------------------------------------------------------------+
#property copyright &Copyright ?2009, TradingSytemForex&
#property link &&
//|----------------------------------------------you can modify this expert
//|----------------------------------------------you can change the name
//|----------------------------------------------you can add &modified by you&
//|----------------------------------------------but you are not allowed to erase the copyrights
#define EAName &TRO DTB Scalper V101.1&
//+------------------------------------------------------------------+
extern string V=&V101.4&;
extern string S0=&---------------- Highest Lowest Settings&;
extern bool UseHL=
extern int HLTimeFrame=15;//|--------------------highest lowest timeframe
extern int HLPeriod=5;//|------------------------highest lowest period
extern int HLMargin=5;//|------------------------highest lowest margin
extern bool HLExit=
extern int HLExitMargin=5;
extern string S1=&---------------- 3 ZZ Level Semafor Settings&;
extern bool UseSemafor=
extern int SemaforTF=60;//|----------------------3 zz level semafor timeframe
extern int ExtDepth1=5;
extern int ExtDeviation1=5;
extern int ExtBackstep1=3;
extern int ExtDepth2=13;
extern int ExtDeviation2=5;
extern int ExtBackstep2=3;
extern int ExtDepth3=34;
extern int ExtDeviation3=5;
extern int ExtBackstep3=3;
extern int Shift=0;
extern string S2=&---------------- Money Management&;
extern double Lots=0.1;//|-----------------------lots size
extern bool RiskMM=//|---------------------risk management
extern double RiskPercent=1;//|------------------risk percentage
extern bool Martingale=//|-----------------martingale
extern double Multiplier=2.0;//|-----------------multiplier martingale
extern double MinLots=0.01;//|-------------------minlots
extern double MaxLots=100;//|--------------------maxlots
extern bool BasketProfitLoss=//|-----------use basket loss/profit
extern int BasketProfit=100000;//|---------------if equity reaches this level, close trades
extern int BasketLoss=9999;//|-------------------if equity reaches this negative level, close trades
extern string S3=&---------------- Order Management&;
extern int MaxTradePerBar=1;
extern int StopLoss=0;//|------------------------stop loss
extern int TakeProfit=5;//|----------------------take profit
extern bool HideSL=//|---------------------hide stop loss
extern bool HideTP=//|----------------------hide take profit
extern int TrailingProfit=0;//|------------------trailing stop after profit reached
extern int TrailingStop=0;//|--------------------trailing stop
extern int TrailingStep=0;//|--------------------trailing step
extern int BreakEven=0;//|-----------------------break even
extern int MaxOrders=100;//|---------------------maximum orders allowed
extern bool MultipleOrdersPerSignal=//|----If the signal persists into the next bar, dont do another order (rgn)
extern int Slippage=3;//|------------------------slippage
extern int Magic=2009;//|------------------------magic number
extern string S4=&---------------- MA Filter&;
extern bool MAFilter=//|-------------------moving average filter
extern int MAPeriod=20;//|-----------------------ma filter period
extern int MAMethod=0;//|------------------------ma filter method
extern int MAPrice=0;//|-------------------------ma filter price
extern string S5=&---------------- Time Filter&;
extern bool TradeOnSunday=//|---------------time filter on sunday
extern bool MondayToThursdayTimeFilter=//|-time filter the week
extern int MondayToThursdayStartHour=0;//|-------start hour time filter the week
extern int MondayToThursdayEndHour=24;//|--------end hour time filter the week
extern bool FridayTimeFilter=//|-----------time filter on friday
extern int FridayStartHour=0;//|-----------------start hour time filter on friday
extern int FridayEndHour=21;//|------------------end hour time filter on friday
extern bool CloseOutSide=//|---------------close the trades outside the time filter
extern string S6=&---------------- Extras&;
extern bool CloseAtOpposite=//|-------------close trade at opposite signal
extern bool Hedge=//|----------------------enter an opposite trade
extern int HedgeSL=0;//|-------------------------stop loss
extern int HedgeTP=0;//|-------------------------take profit
extern bool ReverseSystem=//|--------------buy instead of sell, sell instead of buy
extern bool ReverseAtStop=//|--------------buy instead of sell, sell instead of buy
extern int Expiration=240;//|--------------------expiration in minute for the reverse pending order
extern bool Comments=//|--------------------allow comments on chart
datetime Time0;
datetime Time1;
bool ContinueBuyTrading=false,ContinueSellTrading=
double maxEquity,minEquity,Balance=0.0;
double LotsFactor=1;
double InitialLotsFactor=1;
int TradePerBar=0;
int BarCount=-1;
bool BuySignalCancelledLatch =
bool SellSignalCancelledLatch =
bool DontOpen =
//+------------------------------------------------------------------+
//|---------initialization
int init()
& &digits=D
& &point=GetPoints();
& &Time0=Time[0];
& &Time1=Time[0];
& &Print(MarketInfo(Symbol(),MODE_LOTSIZE));
Print(MarketInfo(Symbol(),MODE_MINLOT));
Print(MarketInfo(Symbol(),MODE_LOTSTEP));
Print(MarketInfo(Symbol(),MODE_MAXLOT));
& &//|---------martingale initialization
& &int tempfactor,total=OrdersTotal();
& &if(tempfactor==0 && total&0)
& && &for(int cnt=0;cnt&cnt++)
& && && &if(OrderSelect(cnt,SELECT_BY_POS))
& && && &{
& && && && &if(OrderSymbol()==Symbol() && OrderMagicNumber()==Magic)
& && && && &{
& && && && && &tempfactor=NormalizeDouble(OrderLots()/Lots,1+(MarketInfo(Symbol(),MODE_MINLOT)==0.01));
& && && && && &
& && && && &}
& && && &}
& &int histotal=OrdersHistoryTotal();
& &if(tempfactor==0&&histotal&0)
& && &for(cnt=0;cnt&cnt++)
& && && &if(OrderSelect(cnt,SELECT_BY_POS,MODE_HISTORY))
& && && &{
& && && && &if(OrderSymbol()==Symbol() && OrderMagicNumber()==Magic)
& && && && &{
& && && && && &tempfactor=NormalizeDouble(OrderLots()/Lots,1+(MarketInfo(Symbol(),MODE_MINLOT)==0.01));
& && && && && &
& && && && &}
& && && &}
& &if(tempfactor&0)
& &LotsFactor=
& &/*if(Comments)Comment(&\nLoading...&);*/
& &return(0);
//|---------x digits broker
double GetPoints()
& &if(Digits==3 || Digits==5)point=Point*10;
& &else point=P
& &return(point);
//|---------deinitialization
/*int deinit()
&&return(0);
//+------------------------------------------------------------------+
int start()
& &//|---------trailing stop
& &if(TrailingStop&0)MoveTrailingStop();
& &//|---------break even
& &if(BreakEven&0)MoveBreakEven();
& &//|---------risk management
& &if(RiskMM)CalculateMM();
& &//|---------basket profit loss
& &if(BasketProfitLoss)
& && &double CurrentProfit=0,CurrentBasket=0;
& && &CurrentBasket=AccountEquity()-AccountBalance();
& && &if(CurrentBasket&maxEquity)
& && && &maxEquity=CurrentB
& && &if(CurrentBasket&minEquity)
& && && &minEquity=CurrentB
& && &if(CurrentBasket&=BasketProfit||CurrentBasket&=(BasketLoss*(-1)))
& && && &CloseBuyOrders(Magic);
& && && &CloseSellOrders(Magic);
& && && &return(0);
//+------------------------------------------------------------------+
& &//|---------signal conditions
& &int limit=1;
& &for(int i=1;i&=i++)
& &//|---------moving average filter
& && &double MAF=iMA(Symbol(),0,MAPeriod,0,MAMethod,MAPrice,1);
& && &bool MABUY=bool MASELL=
& && &if((MAFilter==false)||(MAFilter&&Bid&MAF))MABUY=
& && &if((MAFilter==false)||(MAFilter&&Ask&MAF))MASELL=
& &//|---------last price
& && &double LastBuyOpenPrice=0;
& && &double LastSellOpenPrice=0;
& && &int BuyOpenPosition=0;
& && &int SellOpenPosition=0;
& && &int TotalOpenPosition=0;
& && &int cnt=0;
& && &for(cnt=0;cnt&OrdersTotal();cnt++)
& && && &OrderSelect(cnt,SELECT_BY_POS,MODE_TRADES);
& && && &if(OrderSymbol()==Symbol()&&OrderMagicNumber()==Magic&&OrderCloseTime()==0)
& && && &{
& && && && &TotalOpenPosition++;
& && && && &if(OrderType()==OP_BUY)
& && && && &{
& && && && && &BuyOpenPosition++;
& && && && && &LastBuyOpenPrice=OrderOpenPrice();
& && && && &}
& && && && &if(OrderType()==OP_SELL)
& && && && &{
& && && && && &SellOpenPosition++;
& && && && && &LastSellOpenPrice=OrderOpenPrice();
& && && && &}
& && && &}
& &//|---------main signal
& && &if(UseSemafor)
& && && &double ZZ1=iCustom(Symbol(),SemaforTF,&ZigZag&,ExtDepth1,ExtDeviation1,ExtBackstep1,0,Shift+1);
& && && &double ZZ2=iCustom(Symbol(),SemaforTF,&ZigZag&,ExtDepth2,ExtDeviation2,ExtBackstep2,0,Shift+1);
& && && &double ZZ3=iCustom(Symbol(),SemaforTF,&ZigZag&,ExtDepth3,ExtDeviation3,ExtBackstep3,0,Shift+1);
& && &if(UseHL)
& && && &double HH=High[iHighest(Symbol(),HLTimeFrame,MODE_HIGH,HLPeriod,Shift)]-HLMargin*
& && && &double LL=Low[iLowest(Symbol(),HLTimeFrame,MODE_LOW,HLPeriod,Shift)]+HLMargin*
& && &bool BUY=
& && &bool SELL=
& && &if(MaxTradePerBar==1 && UseHL==false || (UseHL && Bid&LL))ContinueSellTrading=
& && &if(MaxTradePerBar==1 && UseHL==false || (UseHL && Ask&LL))ContinueBuyTrading=
& && &(UseSemafor==false || (UseSemafor && (ZZ1&0&&ZZ1!=EMPTY_VALUE)||(ZZ2&0&&ZZ2!=EMPTY_VALUE)||(ZZ3&0&&ZZ3!=EMPTY_VALUE)))
& && &&& (UseHL==false || (UseHL &&&&Ask&=HH && ((ContinueBuyTrading)||(MaxTradePerBar&1))))
& && && &BUY=
& && && &ContinueBuyTrading=
& && &(UseSemafor==false || (UseSemafor && (ZZ1&0&&ZZ1!=EMPTY_VALUE)||(ZZ2&0&&ZZ2!=EMPTY_VALUE)||(ZZ3&0&&ZZ3!=EMPTY_VALUE)))
& && &&& (UseHL==false || (UseHL && Bid&=LL && ((ContinueBuyTrading)||(MaxTradePerBar&1))))
& && && &SELL=
& && && &ContinueSellTrading=
& && &bool SignalBUY=
& && &bool SignalSELL=
& && &if(BUY/*&&MABUY*/&&(TradePerBar&=MaxTradePerBar))
& && && &if(ReverseSystem)
& && && && &SignalSELL=
& && && &else
& && && && &SignalBUY=
& && && && &
& && &if(SELL/*&&MASELL*/&&(TradePerBar&=MaxTradePerBar))
& && && &if(ReverseSystem)
& && && && &SignalBUY=
& && && &else
& && && && &SignalSELL=
& && && && &
& && &if(BarCount!=Bars)
& && && &TradePerBar=0;
& && && &BarCount=B
& && &Comment(&& && && && && &|Managing &,
& && && &CountOrders(OP_BUY,Magic)+CountOrders(OP_SELL,Magic),
& && && && Trades\n& && && && && &|Trading Restricted? = &,
& && && &DontOpen,
& && && &&\n& && && && && &|B=&,
& && && &BUY,
& && && && S=&,
& && && &SELL,
& && && &&\n& && && && && &|CB=&,
& && && &ContinueBuyTrading,
& && && && CS=&,
& && && &ContinueSellTrading,
& && && &&\n& && && && && &|H=&,
& && && & HH,
& && && & & L=&,
& && && & LL,
& && && & &\n& && && && && &|BS=&,
& && && & SignalBUY,
& && && & & SS=&,
& && && & SignalSELL,
& && && & &\n& && && && && &|ZZ=&,ZZ1,&,&,ZZ2,&,&,ZZ3,
& && && & &\n& && && && && &|Ask=&,Ask,& Bid=&,Bid);
& && &if(!BUY)
& && && &if(BuySignalCancelledLatch)
& && && &{
& && && && &Print(&Buy Signal Latch Released&);
& && && && &BuySignalCancelledLatch =
& && && &}
& && && && &if(!SELL)
& && && &if(SellSignalCancelledLatch)
& && && &{
& && && && &Print(&Sell Signal Latch Released&);
& && && && &SellSignalCancelledLatch =
& && && &}
//+------------------------------------------------------------------+
& &//|---------close orders
& &if(Hedge==false&&((CloseAtOpposite&&SELL)||(HLExit&&Ask&(HH-HLExitMargin*point))))
& && &if(ReverseSystem)
& && && &CloseSellOrders(Magic);
& && &else
& && && &CloseBuyOrders(Magic);
& &if(Hedge==false&&((CloseAtOpposite&&BUY)||(HLExit&&Bid&(LL+HLExitMargin*point))))
& && &if(ReverseSystem)
& && && &CloseBuyOrders(Magic);
& && &else
& && && &CloseSellOrders(Magic);
& &//|---------hidden sl-tp
& &if(Hedge==false&&HideSL&&StopLoss&0)
& && &CloseBuyOrdersHiddenSL(Magic);
& && &CloseSellOrdersHiddenSL(Magic);
& &if(Hedge==false&&HideTP&&TakeProfit&0)
& && &CloseBuyOrdersHiddenTP(Magic);
& && &CloseSellOrdersHiddenTP(Magic);
& &//|---------time filter, If we are outside the trading hours, close all open orders.
& &// Thisis not the way to do this. Rather if we are outside the trading hours, just dont
& &// open new orders and continue to manage current open orders. (rgn)
& &DontOpen = F
& &if((TradeOnSunday==false&&DayOfWeek()==0)||(MondayToThursdayTimeFilter&&DayOfWeek()&=1&&DayOfWeek()&=4&&!(Hour()&=MondayToThursdayStartHour
& &&&Hour()&MondayToThursdayEndHour))||(FridayTimeFilter&&DayOfWeek()==5&&!(Hour()&=FridayStartHour&&Hour()&FridayEndHour)))
& && &DontOpen = T
& && &return(0);
//+------------------------------------------------------------------+
& &//|---------open orders
& &double SL,TP,SLH,TPH,SLP,TPP,OPP,ILots,
& &int Ticket,TicketH,TicketP,Expire=0;
& &/*if(Expiration&0)Expire=TimeCurrent()+(Expiration*60)-5;*/
& &if((CountOrders(OP_BUY,Magic)+CountOrders(OP_SELL,Magic))&MaxOrders)
& && &spread=Ask-B
& && &if(SignalBUY)
& && && &if(HideSL==false&&StopLoss&0){SL=Ask-StopLoss*/*OPP=Bid-StopLoss*SLP=B*/}else {SL=0;/*SLP=0;*/}
& && && &if(HideTP==false&&TakeProfit&0){TP=Ask+TakeProfit*/*TPP=Bid-(TakeProfit*2)**/}else {TP=0;/*TPP=0;*/}
& && && &if(HideSL==false&&HedgeSL&0)SLH=Bid+HedgeSL*else SLH=0;
& && && &if(HideTP==false&&HedgeTP&0)TPH=Bid-HedgeTP*else TPH=0;
& && && &if(Martingale)ILots=NormalizeDouble(Lots*MartingaleFactor(),2);else ILots=L
& && && &if(ILots&MinLots)ILots=MinLif(ILots&MaxLots)ILots=MaxL
& && && &if((Time0!=Time[0])||(MaxTradePerBar&1)&&(!BuySignalCancelledLatch)&&(!DontOpen))
& && && &{
& && && && &
& && && && &Ticket=OrderSend(Symbol(),OP_BUY,ILots,Ask,Slippage,SL,TP,EAName,Magic,0,Blue);
& && && && &if(!MultipleOrdersPerSignal)
& && && && &{
& && && && && &BuySignalCancelledLatch =
& && && && && &Print(&Buy Signal Cancelled Latch Set&);
& && && && &}
& && && && &if(Hedge)TicketH=OrderSend(Symbol(),OP_SELL,ILots,Bid,Slippage,SLH,TPH,EAName,Magic,0,Red);
& && && && &/*if(ReverseAtStop&&StopLoss&0)TicketP=OrderSend(Symbol(),OP_SELLSTOP,Lots,OPP,Slippage,SLP,TPP,EAName,Magic,Expire,Red);*/
& && && && &Time0=Time[0];if(Ticket&0)TradePerBar++;
& && && &}
& && &if(SignalSELL)
& && && &if(HideSL==false&&StopLoss&0){SL=Bid+StopLoss*/*OPP=Ask+StopLoss*SLP=A*/}else {SL=0;/*SLP=0;*/}
& && && &if(HideTP==false&&TakeProfit&0){TP=Bid-TakeProfit*/*TPP=Ask+(TakeProfit*2)**/}else {TP=0;/*TPP=0;*/}
& && && &if(HideSL==false&&HedgeSL&0)SLH=Ask-HedgeSL*else SLH=0;
& && && &if(HideTP==false&&HedgeTP&0)TPH=Ask+HedgeTP*else TPH=0;
& && && &if(Martingale)ILots=NormalizeDouble(Lots*MartingaleFactor(),2);else ILots=L
& && && &if(ILots&MinLots)ILots=MinLif(ILots&MaxLots)ILots=MaxL
& && && &if((Time1!=Time[0])||(MaxTradePerBar&1)&&(!SellSignalCancelledLatch)&&(!DontOpen))
& && && &{
& && && && &
& && && && &Ticket=OrderSend(Symbol(),OP_SELL,ILots,Bid,Slippage,SL,TP,EAName,Magic,0,Red);
& && && && &if(!MultipleOrdersPerSignal)
& && && && &{
& && && && && &SellSignalCancelledLatch =
& && && && && &Print(&Sell Signal Cancelled Latch Set&);
& && && && &}
& && && && &if(Hedge)TicketH=OrderSend(Symbol(),OP_BUY,ILots,Ask,Slippage,SLH,TPH,EAName,Magic,0,Blue);
& && && && &/*if(ReverseAtStop&&StopLoss&0)TicketP=OrderSend(Symbol(),OP_BUYSTOP,Lots,OPP,Slippage,SLP,TPP,EAName,Magic,Expire,Red);*/
& && && && &Time1=Time[0];if(Ticket&0)TradePerBar++;
& && && &}
& &//|---------not enough money warning
& &int err=0;
& &if(Ticket&0)
& && &if(GetLastError()==134)
& && && &err=1;
& && && &Print(&Not enough money!&);
& && &return (-1);
& &if(Comments)
& && &Comment(&\nCopyright ?2009, TradingSytemForex&,
& && && && &&&&\n\nL o t s& && && && && && & =&&& + DoubleToStr(Lots,2),
& && && && &&&&\nB a l a n c e& && && &=&&& + DoubleToStr(AccountBalance(),2),
& && && && &&&&\nE q u i t y& && && && &=&&& + DoubleToStr(AccountEquity(),2));
& &return(0);
//+------------------------------------------------------------------+
//|---------close buy orders
int CloseBuyOrders(int Magic)
&&int total=OrdersTotal();
&&for (int cnt=total-1;cnt&=0;cnt--)
& & OrderSelect(cnt,SELECT_BY_POS,MODE_TRADES);
& & if(OrderMagicNumber()==Magic&&OrderSymbol()==Symbol())
& && &if(OrderType()==OP_BUY)
& && &&&OrderClose(OrderTicket(),OrderLots(),Bid,3,Green);
&&return(0);
int CloseBuyOrdersHiddenTP(int Magic)
&&int total=OrdersTotal();
&&for (int cnt=total-1;cnt&=0;cnt--)
& & OrderSelect(cnt,SELECT_BY_POS,MODE_TRADES);
& & if(OrderMagicNumber()==Magic&&OrderSymbol()==Symbol())
& && &if(OrderType()==OP_BUY&&Bid&(OrderOpenPrice()+TakeProfit*point))
& && &&&OrderClose(OrderTicket(),OrderLots(),Bid,3,Green);
&&return(0);
int CloseBuyOrdersHiddenSL(int Magic)
&&int total=OrdersTotal();
&&for (int cnt=total-1;cnt&=0;cnt--)
& & OrderSelect(cnt,SELECT_BY_POS,MODE_TRADES);
& & if(OrderMagicNumber()==Magic&&OrderSymbol()==Symbol())
& && &if(OrderType()==OP_BUY&&Bid&(OrderOpenPrice()-StopLoss*point))
& && &&&OrderClose(OrderTicket(),OrderLots(),Bid,3,Green);
&&return(0);
//|---------close sell orders
int CloseSellOrders(int Magic)
&&int total=OrdersTotal();
&&for(int cnt=total-1;cnt&=0;cnt--)
& & OrderSelect(cnt,SELECT_BY_POS,MODE_TRADES);
& & if(OrderMagicNumber()==Magic&&OrderSymbol()==Symbol())
& && &if(OrderType()==OP_SELL)
& && &&&OrderClose(OrderTicket(),OrderLots(),Ask,3,Green);
&&return(0);
int CloseSellOrdersHiddenTP(int Magic)
&&int total=OrdersTotal();
&&for(int cnt=total-1;cnt&=0;cnt--)
& & OrderSelect(cnt,SELECT_BY_POS,MODE_TRADES);
& & if(OrderMagicNumber()==Magic&&OrderSymbol()==Symbol())
& && &if(OrderType()==OP_SELL&&Ask&(OrderOpenPrice()-TakeProfit*point))
& && &&&OrderClose(OrderTicket(),OrderLots(),Ask,3,Green);
&&return(0);
int CloseSellOrdersHiddenSL(int Magic)
&&int total=OrdersTotal();
&&for(int cnt=total-1;cnt&=0;cnt--)
& & OrderSelect(cnt,SELECT_BY_POS,MODE_TRADES);
& & if(OrderMagicNumber()==Magic&&OrderSymbol()==Symbol())
& && &if(OrderType()==OP_SELL&&Ask&(OrderOpenPrice()+StopLoss*point))
& && &&&OrderClose(OrderTicket(),OrderLots(),Ask,3,Green);
&&return(0);
//|---------count orders
int CountOrders(int Type,int Magic)
& &int _CountO
& &_CountOrd=0;
& &for(int i=0;i&OrdersTotal();i++)
& && &OrderSelect(i,SELECT_BY_POS,MODE_TRADES);
& && &if(OrderSymbol()==Symbol())
& && && &if((OrderType()==Type&&(OrderMagicNumber()==Magic)||Magic==0))_CountOrd++;
& &return(_CountOrd);
//|---------trailing stop
void MoveTrailingStop()
& &int cnt,total=OrdersTotal();
& &for(cnt=0;cnt&cnt++)
& && &OrderSelect(cnt,SELECT_BY_POS,MODE_TRADES);
& && &if(OrderType()&=OP_SELL&&OrderSymbol()==Symbol()&&OrderMagicNumber()==Magic)
& && && &if(OrderType()==OP_BUY)
& && && &{
& && && && &if(TrailingStop&0&&NormalizeDouble(Ask-TrailingStep*point,digits)&NormalizeDouble(OrderOpenPrice()+TrailingProfit*point,digits))&&
& && && && &{& && && && && &&&
& && && && && &if((NormalizeDouble(OrderStopLoss(),digits)&NormalizeDouble(Bid-TrailingStop*point,digits))||(OrderStopLoss()==0))
& && && && && &{
& && && && && && &OrderModify(OrderTicket(),OrderOpenPrice(),NormalizeDouble(Bid-TrailingStop*point,digits),OrderTakeProfit(),0,Blue);
& && && && && && &return(0);
& && && && && &}
& && && && &}
& && && &}
& && && &else
& && && &{
& && && && &if(TrailingStop&0&&NormalizeDouble(Bid+TrailingStep*point,digits)&NormalizeDouble(OrderOpenPrice()-TrailingProfit*point,digits))&&
& && && && &{& && && && && &&&
& && && && && &if((NormalizeDouble(OrderStopLoss(),digits)&(NormalizeDouble(Ask+TrailingStop*point,digits)))||(OrderStopLoss()==0))
& && && && && &{
& && && && && && &OrderModify(OrderTicket(),OrderOpenPrice(),NormalizeDouble(Ask+TrailingStop*point,digits),OrderTakeProfit(),0,Red);
& && && && && && &return(0);
& && && && && &}
& && && && &}
& && && &}
//|---------break even
void MoveBreakEven()
& &int cnt,total=OrdersTotal();
& &for(cnt=0;cnt&cnt++)
& && &OrderSelect(cnt,SELECT_BY_POS,MODE_TRADES);
& && &if(OrderType()&=OP_SELL&&OrderSymbol()==Symbol()&&OrderMagicNumber()==Magic)
& && && &if(OrderType()==OP_BUY)
& && && &{
& && && && &if(BreakEven&0)
& && && && &{
& && && && && &if(NormalizeDouble((Bid-OrderOpenPrice()),digits)&BreakEven*point)
& && && && && &{
& && && && && && &if(NormalizeDouble((OrderStopLoss()-OrderOpenPrice()),digits)&0)
& && && && && && &{
& && && && && && && &OrderModify(OrderTicket(),OrderOpenPrice(),NormalizeDouble(OrderOpenPrice()+0*point,digits),OrderTakeProfit(),0,Blue);
& && && && && && && &return(0);
& && && && && && &}
& && && && && &}
& && && && &}
& && && &}
& && && &else
& && && &{
& && && && &if(BreakEven&0)
& && && && &{
& && && && && &if(NormalizeDouble((OrderOpenPrice()-Ask),digits)&BreakEven*point)
& && && && && &{
& && && && && && &if(NormalizeDouble((OrderOpenPrice()-OrderStopLoss()),digits)&0)
& && && && && && &{
& && && && && && && &OrderModify(OrderTicket(),OrderOpenPrice(),NormalizeDouble(OrderOpenPrice()-0*point,digits),OrderTakeProfit(),0,Red);
& && && && && && && &return(0);
& && && && && && &}
& && && && && &}
& && && && &}
& && && &}
//|---------calculate money management
void CalculateMM()
& &double MinLots=MarketInfo(Symbol(),MODE_MINLOT);
& &double MaxLots=MarketInfo(Symbol(),MODE_MAXLOT);
& &Lots=AccountFreeMargin()/100000*RiskP
& &Lots=MathMin(MaxLots,MathMax(MinLots,Lots));
& &if(MinLots&0.1)Lots=NormalizeDouble(Lots,2);
& &&&if(MinLots&1)Lots=NormalizeDouble(Lots,1);
& &&&else Lots=NormalizeDouble(Lots,0);
& &if(Lots&MinLots)Lots=MinL
& &if(Lots&MaxLots)Lots=MaxL
& &return(0);
//|---------martingale
int MartingaleFactor()
& &int histotal=OrdersHistoryTotal();
& &if (histotal&0)
& && &for(int cnt=histotal-1;cnt&=0;cnt--)
& && && &if(OrderSelect(cnt,SELECT_BY_POS,MODE_HISTORY))
& && && &{
& && && && &if(OrderSymbol()==Symbol() && OrderMagicNumber()==Magic)
& && && && &{
& && && && && &if(OrderProfit()&0)
& && && && && &{
& && && && && && &LotsFactor=LotsFactor*M
& && && && && && &return(LotsFactor);
& && && && && &}
& && && && && &else
& && && && && &{
& && && && && && &LotsFactor=InitialLotsF
& && && && && && &if(LotsFactor&=0)
& && && && && && &{
& && && && && && && &LotsFactor=1;
& && && && && && &}
& && && && && && &return(LotsFactor);
& && && && && &}
& && && && &}
& && && &}
& &return(LotsFactor);
明白了:一行白鹭上青天!
自己回测就好了,网址屏蔽掉比较好
粘贴得格式都乱了
名字叫DTB Scalper ,有谁用过么
58.gif (33.84 KB, 下载次数: 2)
16:57 上传
没有用过,没有用过

我要回帖

更多关于 炒外汇 的文章

 

随机推荐