tgt123 Posted March 2, 2009 Report Share Posted March 2, 2009 Hello All, , I would like to have the EA Manage EA with decimal point profit like 2.60, 2.75 USD etc, changing the data type from int to double has no working on the EA, the attached links showing the original and amended. Thanks in advance http://www.mediafire.com/download.php?mnmuznwnegt http://www.mediafire.com/download.php?umyt0y2gmnn Quote Link to comment Share on other sites More sharing options...
William1713006271 Posted March 3, 2009 Report Share Posted March 3, 2009 Re: Req : Swiss Army manage profit Ea with decimal Profit?! Not every broker support decimal profit. Most won't. Decimal profit / loss means decimal pips. That also doesn't count for overnight interest. Why do you want decimal profit though? Regards, Quote Ore no Shinka Hikari yo Hayai. Zen Uchi o Nani no Mono Ore no Shinka Chuito Kore Nai. Ten no Michi yo Iki. Subete o Sukosadoru Otoko. Link to comment Share on other sites More sharing options...
tgt123 Posted March 3, 2009 Author Report Share Posted March 3, 2009 Re: Req : Swiss Army manage profit Ea with decimal Profit?! Not every broker support decimal profit. Most won't. Decimal profit / loss means decimal pips. That also doesn't count for overnight interest. Why do you want decimal profit though? Regards, Hi William. I'm closing some semi_auto EA running multilot position and closing all open and pending position once target profit hit ( not in pips value ) but problem with muti position some EA allow taking profit in non round figure, just I prefer swiss Army for its function closing partial pending orders ( limit sell etc.. ) and closing specific pair whether on opened or pending position.. Any help for the code of any ea with that function would be good! Thanks in advance Quote Link to comment Share on other sites More sharing options...
William1713006271 Posted March 3, 2009 Report Share Posted March 3, 2009 Re: Req : Swiss Army manage profit Ea with decimal Profit?! Dear friend. I don't think you get my point. I'm saying that most broker won't accept decimal lot. You may want decimal lot. You may want profit based on certain dollar. But, most brokers accept fixed integer lot size (plus/minus the interest, so you get decimal dollars), most brokers don't accept decimal lot. Thus, regardless the EA, or the codes, or the dollar, or the coder. You may not get it done. 1st thing to do, is to check whether your broker allow decimal lot size. If not, so don't sweat it. :D I think your step of changing it from integer into double and entering the decimal is already correct. Most coder will do that. Frankly a lousy coder like me could only think of that step. If that can't fix the thing, the problem mostly would be on your broker, imho. Regards, Quote Ore no Shinka Hikari yo Hayai. Zen Uchi o Nani no Mono Ore no Shinka Chuito Kore Nai. Ten no Michi yo Iki. Subete o Sukosadoru Otoko. Link to comment Share on other sites More sharing options...
tgt123 Posted March 3, 2009 Author Report Share Posted March 3, 2009 Re: Req : Swiss Army manage profit Ea with decimal Profit?! Dear friend. You may want decimal lot. You may want profit based on certain dollar. But, most brokers accept fixed integer lot size (plus/minus the interest, so you get decimal dollars), most brokers don't accept decimal lot. Thus, regardless the EA, or the codes, or the dollar, or the coder. You may not get it done. 1st thing to do, is to check whether your broker allow decimal lot size. If not, so don't sweat it. :D I think your step of changing it from integer into double and entering the decimal is already correct. Most coder will do that. Frankly a lousy coder like me could only think of that step. If that can't fix the thing, the problem mostly would be on your broker, imho. Regards, Most Broker dun accept decimal profit :o So interbankfx, fxdd, and most metatrader broker has decimal profit, so are u getting my point then :cry: I don't think you get my point. I'm saying that most broker won't accept decimal lot. Sir, decimal profit. USd2.50, usd 100.10 not USd100 or USd150 ( round figure ) I dun mean decimal lot. Quote Link to comment Share on other sites More sharing options...
William1713006271 Posted March 4, 2009 Report Share Posted March 4, 2009 Re: Req : Swiss Army manage profit Ea with decimal Profit?! Ah, my mistake then. My bad. Sorry. :P Regards, Quote Ore no Shinka Hikari yo Hayai. Zen Uchi o Nani no Mono Ore no Shinka Chuito Kore Nai. Ten no Michi yo Iki. Subete o Sukosadoru Otoko. Link to comment Share on other sites More sharing options...
sonny Posted March 7, 2009 Report Share Posted March 7, 2009 Re: Req : Swiss Army manage profit Ea with decimal Profit?! you can not make EA with decimal profit if broker does not support Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.