Search found 18 matches

by neHcioHep
Thu Sep 21, 2017 2:56 am
Forum: FT API
Topic: WindowPriceMax, WindowPriceMin
Replies: 2
Views: 7145

Re: WindowPriceMax, WindowPriceMin

Is there any way to get the min and max vertical price values of the current window? Something similar to WindowPriceMin and WindowPriceMax in metatrader? No, you can't get this information, but you can get information about Bars on the current window. You can get it by next code: procedure MyProc(...
by neHcioHep
Fri Sep 01, 2017 2:23 am
Forum: FT API
Topic: Enable Right Offset
Replies: 1
Views: 7029

Re: Enable Right Offset

by neHcioHep
Thu Jul 27, 2017 1:37 am
Forum: FT API
Topic: Problem running managed code with FT3
Replies: 2
Views: 7802

Re: Problem running managed code with FT3

Hello,

Forex Tester works only with unmanaged code DLLs
by neHcioHep
Fri Jun 30, 2017 7:51 am
Forum: FT API
Topic: IndicatorCounted in FT3
Replies: 2
Views: 8082

Re: IndicatorCounted in FT3

IndicatorCounted function is not present in FT3 API, so how would you convert this MQL4 loop to FT3? int counted_bars = IndicatorCounted(); if (counted_bars > 0) { counted_bars--; } int limit = Bars - counted_bars; for (int i = 0; i < limit; i++) { // calculations happen here using High(i), Low(i),...
by neHcioHep
Fri Jun 02, 2017 1:06 am
Forum: Bug reports
Topic: Cannot Install Indicator
Replies: 4
Views: 8471

Re: Cannot Install Indicator

In line with TempBuffer[index + i]; index of TempBuffer(with index + i) can try to access to the bar that does not exist (if it index more than Bars variable) Please try to replace part of your code for i:=0 to ((Period * TFMultiplier) - 1) do sum := sum + TempBuffer[index + i]; ADRBuffer[index] := ...
by neHcioHep
Fri Apr 28, 2017 2:42 am
Forum: Programming lessons
Topic: Need help with GetOrderInfo
Replies: 2
Views: 8079

Re: Need help with GetOrderInfo

To GetOrderInfo you should set a variable with type TTradePosition, and then you can get info about the order. That how you can do this in your case procedure GetSingleTick; stdcall; var orderInfo : TTradePosition; begin SetCurrencyAndTimeFrame(SymbolName, Timeframe); if (OrdersTotal = 0) then begin...
by neHcioHep
Tue Apr 11, 2017 3:41 am
Forum: Programming lessons
Topic: Need help creating a ds_Symbol style ChartWindow indicator
Replies: 4
Views: 7397

Re: Need help creating a ds_Symbol style ChartWindow indicator

Hello,

Try to add line

Code: Select all

IndicatorBuffers(2);


before these lines

Code: Select all

// create buffers
  TrendUpBuff := CreateIndexBuffer;
  TrendDownBuff := CreateIndexBuffer;
by neHcioHep
Mon Feb 20, 2017 9:19 am
Forum: Programming lessons
Topic: New Bar
Replies: 2
Views: 8214

Re: New Bar

Please try something like this #include <windows.h> #include "StrategyInterfaceUnit.h" TDateTime lastKnownBarTime; //... EXPORT void __stdcall InitStrategy() { //... } EXPORT void __stdcall DoneStrategy() {} EXPORT void __stdcall ResetStrategy() {} EXPORT void __stdcall GetSingleTick() { S...
by neHcioHep
Mon Feb 02, 2015 3:23 pm
Forum: Indicators
Topic: Names of the days of the week
Replies: 7
Views: 6865

Re: Names of the days of the week

Thanks neHcioHep, Can you please provide an example? I ended up using WingDings for the time being. Code attached. In your case you should use some another way :) //--------------------------------------------------------------------------- // Initialization procedure //----------------------------...
by neHcioHep
Wed Jan 28, 2015 5:49 pm
Forum: Indicators
Topic: Names of the days of the week
Replies: 7
Views: 6865

Re: Names of the days of the week

Hi, I'm after the same indicator. I've managed to write Delphi code to show days in different WingDing font. I just dont know how to write a character under each bar. eg M I've found examples where text is written to screen coordinates but i dont see how to write under a Bar coordinate. I was wonde...
by neHcioHep
Tue Oct 07, 2014 12:57 pm
Forum: Programming lessons
Topic: Problem with Indicator Buffers defined in strategie.
Replies: 2
Views: 12056

Re: Problem with Indicator Buffers defined in strategie.

What is wrong?
You get values from other buffers or something other?
by neHcioHep
Wed Sep 17, 2014 1:08 pm
Forum: FT API
Topic: Is There A Way to Determine First Visible Bar?
Replies: 2
Views: 4709

Re: Is There A Way to Determine First Visible Bar?

Hello camster you should try something like this:

Code: Select all

var ChartInfo: TChartInfo;
...

if GetChartInfo(ChartInfo) then
     Print('First index = ' + inttostr(ChartInfo.FirstIndex));

by neHcioHep
Mon Jun 30, 2014 2:25 pm
Forum: Indicators
Topic: I need to convert indicator
Replies: 3
Views: 3822

Re: I need to convert indicator

Hello hurairah,

I installed your indicator in MT4 terminal and indicator showed only 3 lines. In your screenshot the indicator also showed circles. What I need to set into parameters for showing circles?
by neHcioHep
Sat May 24, 2014 3:50 am
Forum: Indicators
Topic: Zerolag Macd
Replies: 6
Views: 5555

Re: Zerolag Macd

tommmmmm wrote:That's exactly the one I want.... anyone re-programmed it yet?

I really need it.

I can help you, please see pm.
by neHcioHep
Wed May 14, 2014 3:10 pm
Forum: Programming lessons
Topic: Lesson 3 Multiple orders questions
Replies: 4
Views: 16334

Re: Lesson 3 Multiple orders questions

Thanks neHcioHep, Do you know what sort of rule I could add? Is there a way to say only open 1 position at 8:00? If I understand you correctly then you need to open one trade every day at 8:00. Please see the modefied example from lesson 3 library DemoStrategy1; uses SysUtils, DateUtils, StrategyIn...
by neHcioHep
Wed May 14, 2014 10:10 am
Forum: Programming lessons
Topic: Lesson 3 Multiple orders questions
Replies: 4
Views: 16334

Re: Lesson 3 Multiple orders questions

I am working with lesson 3 using Delphi and I am wondering how to open a order every day at 8:00 weather a previous position from a prior day is still open or not . It will not do this because of line: (OrdersTotal = 0) I tried changing it to (OrdersTotal < 100), or (OrdersTotal >1), but then at 8:...
by neHcioHep
Fri May 02, 2014 10:22 am
Forum: New Feature Suggestions
Topic: horizontal line with price alert indictor
Replies: 4
Views: 6369

Re: horizontal line with price alert indictor

I can help you, please see PM
by neHcioHep
Tue May 29, 2012 12:31 pm
Forum: New Feature Suggestions
Topic: Drag and Drop TP and SL
Replies: 3
Views: 8753

Hello foreman01, we have a tool for Metatrader4 which has features which you may be interested in. You find the information about this program here: http://www.fx-metropolis.com/FSU_Info.html In the manual of this program (is included into zip archive) on the page #4 you will find instructions on ho...

Go to advanced search