- Search Crypto Craft
-
sangmane replied Mar 28, 2010Hi Ron, I've coded a simple EA to take screenshot, it works. here the ea code: int start() { if(ObjectFind("shot")>=0) { if(!WindowScreenShot("shot.gif",640,480)) Print("Screenshot failed"); else Print("Screenshot succeeded"); ObjectDelete("shot"); ...
WindowScreenShot()
-
sangmane replied Mar 28, 2010this ea will close buy if ema 6 below ema 10 and they have a 4 pip distance. reverse for sell. ema period and the minimum distance are adjustable. test it first on demo
Please any EA to close trade on EMA cross?
-
sangmane replied Mar 28, 2010hi buildcity, there is possibilities that point 3 and 5 can conflict each other. ea will move sl periodically to follow the price with a predefined distance. if you move the line manually, ea will immediately move it back to previous level (the ...
Hidden SL & TP with movable line on chart - EA
-
sangmane replied Mar 27, 2010beman, how do you define rising and falling?
Code a simple EA for me I'll pay 4 it!
-
sangmane replied Mar 27, 2010kenny, my idea is that if there are only two possibilities : hit TP or SL, then if price close above SL in a buy order, that we can be sure that it's not SL that closed that order
How to know if the last closed order
-
sangmane replied Mar 27, 2010if there are only two possibilities: hit by SL or TP, the code should be easier: if(OrderSelect(OrdersHistoryTotal()-1,SELECT_BY_POS,MODE_HISTORY)) { if(OrderType()==OP_BUY) { if(OrderClosePrice()>OrderStopLoss()) Print("Hit TP"); else Print("Hit ...
How to know if the last closed order
-
sangmane replied Mar 27, 2010hi amar, the attached indicator below will draw line object at the recent and previous swing. it needs standard Zigzag indicator
Help with ZigZag, Draw Horizontal lines at Highs & Lows
-
sangmane replied Mar 26, 2010anyone know how to measure the randomness of a set of data? i think it's better to state the randomness with a number (like 90% random) than just saying "not completely random".
S/R and TL on Randomized Price Movement
-
sangmane replied Mar 25, 2010if you can apply your prediction to ordinary ema, you can get the associated close value with a simple algebra. suppose N = ema period SF = smooth factor = 2/(N+1) ema formula: current_ema = last_ema + SF*(current_close - last_ema) future_ema = ...
t3 contest
-
sangmane replied Mar 22, 2010hi will, copy both the indy below to indicator folder. HA-T3 file is actually your HA T3 indy but i change its file name to a short name. HA-T3_MTF is the indy you are looking for. put it on 30 min chart, it will show HA T3 info based on 4 Hour chart
HAT3 Signal Indy
-
sangmane replied Mar 22, 2010disclosure, it's not clear on your code, what is your first and second point. and you incorrectly access angle property using GetValueByShift. it should be ObjectGet(ObjectName,OBJPROP_ANGLE). here is how i get line angle in pixel coordinate. the ...
help on - Objprop_xdistance=0?
-
sangmane replied Mar 21, 2010Pixels coordinate of price and time are relative to the scale of Time/pixel and Price/pixel. Btw, imo, your best tool to get angle in pixel space is by using trendline object Here is the pic of angle measured from two points of an ema 10, where ...
help on - Objprop_xdistance=0?
-
sangmane replied Mar 21, 2010First, I hope my previous post in this thread has answered why you get OBJPROP_XDISTANCE = 0. Can you show where in the chart that have Time = 0 and price = 0? And how do you define Time = 0? Was it the time when we move from BC (Before Christ) to ...
help on - Objprop_xdistance=0?
-
sangmane replied Mar 19, 2010regarding lot size, there is one called lot step. from MT4 Lang ref: MODE_LOTSTEP Step for changing lots. for example, minlot = 0.1 (the lowest allowable lot size) lotstep = 0.01. it means we can open 0.1, 0.11, 0.12, 013 lot my favorite way to make ...
Order entry Script with memory?
-
Zigzag EA
Started Mar 17, 2010|Platform Tech|15 replies
Hi all, Just want to share my Zigzag EA. I suprised when found that zigzag (at least how i ...
-
sangmane replied Mar 17, 2010hi, it seems that you draw object with MA value as one of the obj properties, and then trying to get back that MA values by accessing objectget(). what the purposes of this? regarding the problems, consult MT4 lang reference: and this: so, imo, you ...
help on - Objprop_xdistance=0?
-
sangmane replied Mar 14, 2010Awesome system is anything that gives you the confidence to enter a trade, am i right?
Awesome system - HELP!
-
sangmane replied Mar 14, 2010Wowww, great info!!! will download lazarus soon. i used to be using delphi, mainly for database application. mql <-> pascal

thank you 7bitCreating Metatrader DLLs with Lazarus / Free Pascal