JimSingadventure
JimSingadventure
JimSingadventure
Added topic compound ! statement not working
Hi gurus,  i want to isolate a special case so that when it is true, the entire if statement becomes false and is not executed. if (         (( A && C) || ( B && D))
JimSingadventure
Added topic Can someone explain why adding "||" options kills original trigger
Hello gurus, my original line of code which triggers entry nicely in Strategy Tester as follows :     //my trigger for ENTRY         ...         &&
JimSingadventure
Added topic any way to store expression into a variable or array?
Hi gurus, I want to be able to test my conditions (expressions) and know which one of them triggers the trade in an if statement by printing out the trigger expression when true. so i tried assigning the expression to x and then print x if it is
JimSingadventure
Added topic Indicator value not being translated correctly
Hi Gurus, appreciate any assistance!    if (ATRCurrent <= 0.115 && ATRCurrent >= 0.093 )             pATRStrength =   "VIX REVERSAL" ;  
JimSingadventure
Added topic Outer [if] statement is false but inner [if] gets triggered
Hi Gurus, appreciate any pointers! Why does inner [if] statement trigger when outer [if] is false? i have a series of [if],[else if] statement with this one having an inner [if].  i know the outer [if] is false because the global variable
JimSingadventure
Added topic EA instance limit
Hi, i've dragged and dropped an EA on several, around 10 different chart instruments. I read that the limit is a lot so this limitation should not affect me. However, i am seeing that my EA robot triggers only on one chart while it doesnt trigger on
JimSingadventure
Added topic Flow control using char variable
Hi, i'm setting "alertswitch" to a number and using this to control the flow as in the example below. : but it is not repecting the alertswitch global variabl even when i printed it out it is clearly set to 3. The EA just bulldozes its way to the
JimSingadventure
Added topic FileIsExist always defaults to File exists already! what am i missing?
I am trying to use FileIsExist to search the common directory of MQL, which is, C:\Users\Jim\AppData\Roaming\MetaQuotes\Terminal\9B101088254A9C260A9790D5079A7B11\MQL5\Files. In the code below, it always defaults to the "else"  statement
JimSingadventure
Added topic Strange Output : char Variable driving me insane!
Hi all, i'm defining flag variable called char "alertswitch" from 1-10 with their corresponding negative nos. for short positions. I do this  in order to identify certain conditions have been met processing and for documentation purpose. when i
JimSingadventure
Registered at MQL5.community