- Şubat 12, 2014
- Yayınlayan: Forex Wiki Ekibi
- Kategori: kategorize edilmemiş
İsim: |
|
||
Yazar: | Louis Christian Stoltz (2014.02.11 14:58) | ||
İndirildi: | 135 | ||
İndirmek: |
|
||
Yazar: Louis Christian Stoltz
Tanım:This indicator will calculate pips wins and losses for any pair with a parsar and doji star trading strategy. You can see pip targets and losses and see if you can find a winning pair with this. 5MIN charts are the best on current settings. Dont risk your account on this, there still high pip losses I see that are high risk. If you use micro lots then maybe its ok. This can save your life in forex. resim:Here is an expert to backtest. You can see its pretty risky so use microlots. This is just for studying the market, I havent traded with this. #property link "[email protected]" /** Louis Christian Stoltz _____ / ___ \ / / _ \ \ /( /( /(_)\ )\ )\ ( \ \ ___ / / ) ( \ _____ / ) /( )\ | \ / | | \ _______ / | \ / \ / \ / \/ | | \/ | | | | |_| **/ /** Global Variables **/ double glbOrderProfit; double glbOrderOpen; double glbOrderStop; double glbOrderType; double glbOrderTicket; int gblOrderPips; int başlangıç() { int MagicBuy = 7647; int MagicSell = 7648; double sell = iCustom(Sembol(),Dönem(),"RosyPipsIndicator",0,1); double buy = iCustom(Sembol(),Dönem(),"RosyPipsIndicator",1,1); eğer(OrderFind(MagicSell,Sembol()) == false && OrderFind(MagicBuy,Sembol()) == false && satmak != 0){ OrderSend(Sembol(),OP_SELL,5,Bid,3,Bid+2500*Point,Bid-100*Point,"Sell Order" + Sembol(),MagicSell,0,Yeşil); } eğer(OrderFind(MagicSell,Sembol()) == false && OrderFind(MagicBuy,Sembol()) == false && satın almak != 0){ OrderSend(Sembol(),OP_BUY,5,Ask,3,Ask-2500*Point,Ask+100*Point,"Buy Order" + Sembol(),MagicBuy,0,Yeşil); } } /** Order Find Function **/ bool OrderFind(int Magic, string symbol) { glbOrderType = -1; glbOrderTicket = -1; glbOrderProfit = 0; glbOrderOpen = -1; glbOrderStop = -1; gblOrderPips = 0; int total = OrdersTotal(); double point =MarketInfo(symbol,MODE_POINT); bool res = false; için(int cnt = 0 ; cnt < total ; cnt++) { OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES); eğer(OrderMagicNumber() == Magic && OrderSymbol() == symbol) { glbOrderType = OrderType(); glbOrderTicket = OrderTicket(); glbOrderProfit = OrderProfit(); glbOrderOpen = OrderOpenPrice(); glbOrderStop = OrderStopLoss(); eğer (glbOrderType == OP_BUY)gblOrderPips = (OrderClosePrice() - OrderOpenPrice())/point; eğer (glbOrderType == OP_SELL)gblOrderPips = (OrderOpenPrice() - OrderClosePrice())/point; res = true; } } geri dönmek(res); } |