BTC USD 84,116.3 Gold USD 4,169.65
Time now: Jun 1, 12:00 AM

Kucing

sape leh tlg ek..caner nak masukkan setting ni kt dlm ea kucing kurap tu..


extern int iTakeProfitCloseValue=30;
extern int iTakeProfitMaxDecCount=20;
and put stoploss.
(double SL = 20.0 )

nak ngeteh ea bidara pnyer..

selak ler ms belakang2 nih BRO.. dah ada saya setkan TP,SL,MagicNo
 
aku guna normal setting je...ok gak la ea ni...nk tgk masa news nanti ok tak...:D
 
sunyi je mlm ni..blh lepas kucing x nih..
 
selak ler ms belakang2 nih BRO.. dah ada saya setkan TP,SL,MagicNo

erm sy da ade ea tu..cuma caner nak masukkan setting kt bwh ni..

extern int iTakeProfitCloseValue=30;
extern int iTakeProfitMaxDecCount=20;
and put stoploss.
(double SL = 20.0 )


extern double lTakeProfit = 20;
extern double sTakeProfit = 20;
extern double lTrailingStop = 20;
extern double sTrailingStop = 10;
extern double StopLoss=40;


extern int iTakeProfitCloseValue=30; ni sama dgn extern double lTakeProfit & extern double sTakeProfit ker..?

pas2 extern int iTakeProfitMaxDecCount=20; ni sama dgn extern double lTrailingStop & extern double sTrailingStop ker..?
 
erm sy da ade ea tu..cuma caner nak masukkan setting kt bwh ni..

extern int iTakeProfitCloseValue=30;
extern int iTakeProfitMaxDecCount=20;
and put stoploss.
(double SL = 20.0 )


extern double lTakeProfit = 20;
extern double sTakeProfit = 20;
extern double lTrailingStop = 20;
extern double sTrailingStop = 10;
extern double StopLoss=40;


extern int iTakeProfitCloseValue=30; ni sama dgn extern double lTakeProfit & extern double sTakeProfit ker..?

pas2 extern int iTakeProfitMaxDecCount=20; ni sama dgn extern double lTrailingStop & extern double sTrailingStop ker..?


oo,,,yang ni kucing kurap ni ala2 v2,,cume beza v1,v2 lambat skit buka,,,,saje2 skodeng all find post by bidara,,hehe jupe pun,,,kalu nak cepat abis game ,,sl jawpanyer,,,hidup floating :)paid:)paid

skripyer yg ditrack :
//+------------------------------------------------------------------+
//| escape.mq4 |
//| Copyright © 2008, OGUZ BAYRAM |
//| [email protected] |
//+------------------------------------------------------------------+
extern int StopLoss=0;
extern double lTakeProfit = 20;
extern double sTakeProfit = 20;
extern double lTrailingStop = 20;
extern double sTrailingStop = 10;
extern color clOpenBuy = Blue;
extern color clCloseBuy = Aqua;
extern color clOpenSell = Red;
extern color clCloseSell = Violet;
extern color clModiBuy = Blue;
extern color clModiSell = Red;
extern string Name_Expert = "kucing_kurap";
extern int Slippage = 1;
extern bool UseSound = true;
extern bool FractionalPips = true;
extern string NameFileSound = "Alert.wav";
extern double Lots = 0.1;
extern int MaxOrders=100;
extern int Magic=2009;
void deinit() {
Comment("");
}
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
int start(){
if(Bars<100){
Print("bars less than 100");
return(0);
}
/* if (Digits==3 || Digits==5)


if(lTakeProfit<10){
Print("TakeProfit less than 10");
return(0);
}
if(sTakeProfit<10){
Print("TakeProfit less than 10");
return(0);
} */

double diClose0=iClose(NULL,5,0);
double diMA1=iMA(NULL,5,5,0,MODE_SMA,PRICE_OPEN,0);
double diClose2=iClose(NULL,5,0);
double diMA3=iMA(NULL,5,4,0,MODE_SMA,PRICE_OPEN,0);

if(AccountFreeMargin()<(1000*Lots)){
Print("We have no money. Free Margin = ", AccountFreeMargin());
return(0);
}
if (!ExistPositions()){

if ((diClose0<diMA1)&& (CountOrders(OP_BUY,Magic)+CountOrders(OP_SELL,Magic))<MaxOrders){
OpenBuy();
return(0);
}

if ((diClose2>diMA3) && (CountOrders(OP_BUY,Magic)+CountOrders(OP_SELL,Magic))<MaxOrders){
OpenSell();
return(0);
}
}
TrailingPositionsBuy(lTrailingStop);
TrailingPositionsSell(sTrailingStop);
return (0);
}

bool ExistPositions() {
for (int i=10; i<OrdersTotal(); i++) {
if (OrderSelect(i, SELECT_BY_POS, MODE_TRADES)) {
if (OrderSymbol()==Symbol()) {
return(True);
}
}
}
return(false);
}
void TrailingPositionsBuy(int trailingStop) {
for (int i=10; i<OrdersTotal(); i++) {
if (OrderSelect(i, SELECT_BY_POS, MODE_TRADES)) {
if (OrderSymbol()==Symbol()) {
if (OrderType()==OP_BUY) {
if (Bid-OrderOpenPrice()>trailingStop*Point) {
if (OrderStopLoss()<Bid-trailingStop*Point)
ModifyStopLoss(Bid-trailingStop*Point);
}
}
}
}
}
}
void TrailingPositionsSell(int trailingStop) {
for (int i=10; i<OrdersTotal(); i++) {
if (OrderSelect(i, SELECT_BY_POS, MODE_TRADES)) {
if (OrderSymbol()==Symbol()) {
if (OrderType()==OP_SELL) {
if (OrderOpenPrice()-Ask>trailingStop*Point) {
if (OrderStopLoss()>Ask+trailingStop*Point ||
OrderStopLoss()==0)
ModifyStopLoss(Ask+trailingStop*Point);
}
}
}
}
}
}
void ModifyStopLoss(double ldStopLoss) {
bool fm;
fm = OrderModify(OrderTicket(),OrderOpenPrice
(),ldStopLoss,OrderTakeProfit(),0,CLR_NONE);
if (fm && UseSound) PlaySound(NameFileSound);
}

void OpenBuy() {
double ldLot, ldStop, ldTake;
string lsComm;
ldLot = GetSizeLot();
if(StopLoss>0){ldStop=Ask-StopLoss*Point;}else {ldStop=0;}
//ldStop = 0;
ldTake = GetTakeProfitBuy();
lsComm = GetCommentForOrder();
OrderSend(Symbol
(),OP_BUY,ldLot,Ask,Slippage,ldStop,ldTake,lsComm,Magic,0,clOpenBuy);
if (UseSound) PlaySound(NameFileSound);
}
void OpenSell() {
double ldLot, ldStop, ldTake;
string lsComm;

ldLot = GetSizeLot();
if(StopLoss>0){ldStop=Bid+StopLoss*Point;}else {ldStop=0;}
//ldStop = 0;
ldTake = GetTakeProfitSell();
lsComm = GetCommentForOrder();
OrderSend(Symbol
(),OP_SELL,ldLot,Bid,Slippage,ldStop,ldTake,lsComm,Magic,0,clOpenSell);
if (UseSound) PlaySound(NameFileSound);
}
string GetCommentForOrder() { return(Name_Expert); }
double GetSizeLot() { return(Lots); }
double GetTakeProfitBuy() { return(Ask+lTakeProfit*Point); }
double GetTakeProfitSell() { return(Bid-sTakeProfit*Point); }

//|---------count orders

int CountOrders(int Type,int Magic)
{
int _CountOrd;
_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);
}

:)paid:)paid
 
pergh....

ade orang "menjual" tu...:D:D:D

xde yg nk "membeli" ke...:p:p:p
:)cgrock:)cgrock:)cgrock:)cgrock

Orang berjual kat kedai sendiri...:p:p


Float -ve 5 USD

chart6d.gif



Tepek ler BabyG...:eek:
 
Orang berjual kat kedai sendiri...:p:p


Float -ve 5 USD


Tepek ler BabyG...:eek:

dah kering dah BabyG kena sedut kat tread babyG. Ni mesti xpenah bukak thread lain ni, mana boleh tepek kat sini:eek:

jgn kata tepek, siap ada org kopak lagi~X(
 

Live Forex Chart

Currency
Rates
EUR / USD
1.12316
USD / JPY
157.740
GBP / USD
1.31944
USD / CHF
0.83081
USD / CAD
1.42444
EUR / JPY
177.048
AUD / USD
0.69104
Back
Top
Log in Register