Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 147
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Oh, and such a question for the code:
for (shift=Nbars-Length-1;shift>=0;shift--)
{
smax[shift]=iBands(NULL,0,Length,Deviation,0,PRICE_CLOSE,MODE_UPPER,shift);
smin[shift]=iBands(NULL,0,Length,Deviation,0,PRICE_CLOSE,MODE_LOWER,shift);
if (Close[shift]>smax[shift+1]) trend=1;
if (Close[shift]<smin[shift+1]) trend=-1;
bsmax[shift]=smax[shift]+0.5*(MoneyRisk-1)*(smax[shift]-smin[shift]);
bsmin[shift]=smin[shift]-0.5*(MoneyRisk-1)*(smax[shift]-smin[shift]);
if (trend>0)
UpTrendBuffer[shift]=bsmin[shift];
else
DownTrendBuffer[shift]=bsmax[shift];
}
Good afternoon!
This is my first time on this forum. Please don't judge me if I'm writing in the wrong place.
http://ruforum.mt5.com/threads/31263-simpleforextester-testirovanie-ruchnih-torgovih-sistem - here is a description of how to work with SimpleForexTester, but I have a problem: I have done everything as described, I have distributed files in folders correctly, ctrl+r - chose SimpleFXTester_v.2, adjusted period, launched... The chart "runs", but "SimpleForexTester" window does not open... Please advise what I am doing wrong. Screenshots attached.
After i rebooted the computer the message is displayed, i press "yes" - terminal closes...
Asked a question on the author's thread, but no one has answered there yet...
Hello.
I have this problem and a question for a pro.
The problem: There is a trend line indicator on the terminal that moves behind the price (something like a trailing stop). When I close and reopen the terminal it works fine, but when computer shuts down or turns off the light I get confused and does not save position of the trend line.
Question: How may I fix this problem? Maybe, there is a saving operator or the trend line value may be written somewhere programmatically.
Please advise. Thank you.
Here's a question. There are 2 indicators in one indicator. There are styles for each of them.
//---- indicator line
SetIndexBuffer(0,UpTrendBuffer);
SetIndexBuffer(1,DownTrendBuffer);
SetIndexStyle(0,DRAW_ARROW);
SetIndexStyle(1,DRAW_ARROW);
SetIndexArrow(0,159);
SetIndexArrow(1,159);
IndicatorDigits(MarketInfo(Symbol(),MODE_DIGITS));
//---- indicators
SetIndexStyle(0, DRAW_ARROW, EMPTY, 1);
SetIndexArrow(0, 233);
SetIndexBuffer(0, CrossUp);
SetIndexStyle(1, DRAW_ARROW, EMPTY, 1);
SetIndexArrow(1, 234);
SetIndexBuffer(1, CrossDown);
GlobalVariableSet("AlertTime"+Symbol()+Period(),CurTime());
GlobalVariableSet("SignalType"+Symbol()+Period(),OP_SELLSTOP);
//----
Hello.
I have this problem and a question for a pro.
The problem: There is a trend line indicator on the terminal that moves behind the price (something like a trailing stop). When I close and reopen the terminal it works fine, but when computer shuts down or turns off the light I get confused and does not save position of the trend line.
Question: How may I fix this problem? Maybe, there is a saving operator or the trend line value may be written somewhere programmatically.
Please advise. Thank you.
Here's a question. There are 2 indicators in one indicator. I have styles for each of them, only one of them works, i.e. signals are issued with the same design for both indicators. It works with the style, that is the last prescribed. The question is how to share the styles. I.e. we assign the style to each indicator.
There would be more buffers.
Hello.
I have this problem and a question for a pro.
The problem: There is a trend line indicator on the terminal that moves behind the price (something like a trailing stop). When I close and reopen the terminal it works fine, but when computer shuts down or turns off the light I get confused and does not save position of the trend line.
Question: How may I fix this problem? Maybe, there is a saving operator or the trend line value may be written somewhere programmatically.
Please advise. Thank you.
Hello.
The OrderSelect function returns error 0 (ERR_NO_ERROR - Trade transaction was successful)??
How to avoid this error?
I am attaching the program code and journal entries.
Respectfully. Shurkin.
2013.09.17 13:07:04 PoligonTd GBPUSD,Daily: removed
2013.09.17 13:07:04 PoligonTd GBPUSD,Daily: uninit reason 0
2013.09.17 13:07:04 PoligonTd GBPUSD,Daily: Ks: Str=#20552937 buy 1.00 GBPUSD at 1.55450; Tct 20552937; OdSmb ?
2013.09.17 13:07:04 PoligonTd GBPUSD,Daily: OrderSelect() returned error - 0
2013.09.17 13:07:04 PoligonTd GBPUSD,Daily: loaded successfully