- Search Crypto Craft
-
sangmane replied Feb 24, 2010hi mer, to make Fib lines drawn based on box length, change this ObjectCreate(objname,OBJ_FIBO,0,MathMin(Time[tlow],Time[thigh]),pt1,MathMax(Time[tlow],Time[thigh]),pt2); to ObjectCreate(objname,OBJ_FIBO,0,dt1,pt1,dt2,pt2); or if you want an ...
BoxFibo indicator acting weird, can anyone help?
-
sangmane replied Feb 24, 2010hi hayseed, this line: double profitarget = (MarketInfo(Symbol(),MODE_TICKVALUE)/Lots)*ProfitTarget; should be double profitarget = ProfitTarget/(MarketInfo(Symbol(),MODE_TICKVALUE)*Lots); for pairs that has tickvalue bigger/less than 1 (for ex. ...
Take Profit in Pips/Dollars issue
-
sangmane replied Feb 24, 2010see post #7, revert the code back. or check the link posted by ecTrade, the original show arrow when one candle reverse
Heikin Ashi Alert
-
sangmane replied Feb 23, 2010change this: UpArrow[pos]=ExtMapBuffer4[pos+1]-(Ask-Bid); to UpArrow[pos]=ExtMapBuffer4[pos+1]-(Ask-Bid)-7*Point; and DnArrow[pos]=ExtMapBuffer4[pos+1]+(Ask-Bid); to DnArrow[pos]=ExtMapBuffer4[pos+1]+(Ask-Bid)+7*Point; adjust "7" with any other ...
Heikin Ashi Alert
-
sangmane replied Feb 23, 2010use MarketInfo(Symbol(),MODE_TICKVALUE). double tickValue = MarketInfo(Symbol(),MODE_TICKVALUE); to get equivalent price, use: double price = tickValue*lotSize*SL; SL is the difference between open price and stop loss price, in pips
Take Profit in Pips/Dollars issue
-
sangmane replied Feb 23, 2010I only modified the indy which link was posted by ec Trade. By quick look into the code, I changed the following lines to meet your rules: - for Up Arrow if (ExtMapBuffer3[pos]<ExtMapBuffer4[pos] && ExtMapBuffer4[pos+1]<ExtMapBuffer3[pos+1])to if ...
Heikin Ashi Alert
-
sangmane replied Feb 23, 2010down arrow after 2 up followed by 2 down, up arrow after 2 down followed by 2 up
Heikin Ashi Alert
-
sangmane replied Feb 23, 2010datetime thistime = Time[i]; datetime dt2 = StrToTime(TimeToStr(Time[i],TIME_DATE) + " " + EndTime); datetime dt1 = StrToTime(TimeToStr(Time[i],TIME_DATE) + " " + StartTime); if(thistime < dt2) continue; //add the single line below///////////// ...
BoxFibo indicator acting weird, can anyone help?
-
sangmane replied Feb 21, 2010currently, predicting the future using past data is the best thing we can do, until someday when someone invent a time machine, we will have an indicator that calculated its value using future data. but, if we have had those future data, do we need ...
the indic tells future?!
-
sangmane replied Feb 20, 2010hi dmitry, i believe one or two chart with detailed explanation about entry/exit and MM will interest those programmer and other members.. have you take a look for an Ichi EA at Ichimoku Forever thread?
Generic Ichimoku EA
-
sangmane replied Feb 20, 2010take a look at the fibs indy below. it's based on your fibs with some minor corrections.
BoxFibo indicator acting weird, can anyone help?
-
sangmane replied Feb 19, 2010hi mer, it's quite hard to figure out what you want to achive with your fibs, i assume you want to draw fib based on the highest/lowest form time 05.00 - 08.15 every day after make some correction to your fibs indicator, i get result shown at ...
BoxFibo indicator acting weird, can anyone help?
-
sangmane replied Feb 19, 2010RR establish http connection to update a tick database on a web server url . hope this help
Trading Signals
-
sangmane replied Feb 18, 2010different of bars between angletime1 and angletime2 : int bardiff = (angletime2-angletime1)/(60*Period());
Programming confusion on an EA
-
sangmane replied Feb 18, 2010many can and will do, especially if it is a nice EA. post it
Any hlep me improving my EA
-
sangmane replied Feb 18, 2010Hi BigE, When EA start, startTime has a zero value, and it corespondend to year 1970!! That's the reason why the routine return all account balance, because it sum up all profit that opened after 1970.. I have to modify the way routine define ...
Learning to Code Problem
-
sangmane replied Feb 14, 2010well, the previous routine calculated "profits of orders that were opened and closed after startTime". I think it should be "profits of orders that were closed after startTime". I've modified the above file. it only change : if(OrderCloseTime() < ...
Learning to Code Problem