Suttisak Boonla / Publications
Forum
Try to create Arrow by OBJPROP_XDISTANCE,OBJPROP_YDISTANCE
Hi I try to create Arrow by X,Y distance but not success. I know Object Arrow need Time and Price for place it.But I want to create by another way. How to convert X,Y to Time and Price. Or How to create arrow like this. Thank You. string name_m1 = "m1" ; ObjectCreate ( 0 ,name_m1, OBJ_ARROW_UP , 0
How to pair Position Buy and Sell for hedging.Please help.
I try to pair position Buy and sell by hedging. position Buy condition if profit < 0 and not have sell position to square --- open sell and pair it. if profit < 0 and have sell position to square and opentime > my expect time --- close this pair(buy and sell) now my code open and pair just 1 pair
How to calculate MA of Indecator
Hi, I try to get MA of DeMarker by iMAOnArray. in MODE SMA value is correct but in MODE EMA value is incorrect. what's wrong please help me. This my code double Dem_0[ 20 ]; int a= 0 ; int b=DeMaker_MA_Period- 1 ; double dem_ma_1,dem_ma_2; while (b>= 0 ) { Dem_0[a]= NormalizeDouble ( iDeMarker (
How to Coding in order to count
Hi all I have question about how to coding in order to count OrderSymbol() I open trade buy USDJPY ,EURUSD ,AUDUSD sell USDJPY ,AUDJPY ,USDCHF I want EA to count only 5 pairs but my EA count 6 pair. if that same pair just count 1. Please kindly help I don't know what to do. This my code. int
Please Help iCustom error
Hi everyone I'm newbie for code. I Try to coding iCustom but I have some problem. my indicator get som zero divide error. double x = (a+b)/a; double y = a/b; double z = x/y; so please help me. //+------------------------------------------------------------------+ //|
Need help add some code
Hi I have free EA and I want to add Trailing stop,Break even ,And max spread in to it. Please anyone help me? #define MAGICMA 20110131 #include <stdlib.mqh> extern double Lots = 0.1 ; extern int Distance = 200 ; extern int StopLoss = 500 ; extern int TakeProfit = 500 ;