Skip to content

Commit

Permalink
Moves Bar/Candle/Pattern to Platform/Chart/
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Sep 10, 2024
1 parent b74eaeb commit 64a2cc1
Show file tree
Hide file tree
Showing 18 changed files with 28 additions and 26 deletions.
2 changes: 1 addition & 1 deletion Indicator/IndicatorBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#endif

// Includes.
#include "../Bar.struct.h"
#include "../Platform/Chart/Bar.struct.h"
#include "../Log.mqh"
#include "../Platform/Chart/Chart.struct.tf.h"
#include "../Platform/Platform.extern.h"
Expand Down
2 changes: 1 addition & 1 deletion Indicator/IndicatorCandle.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#endif

// Includes.
#include "../Candle.struct.h"
#include "../Platform/Chart/Candle.struct.h"
#include "../Storage/ItemsHistory.h"
#include "../Storage/ValueStorage.price_median.h"
#include "../Storage/ValueStorage.price_typical.h"
Expand Down
2 changes: 1 addition & 1 deletion Indicator/IndicatorCandle.provider.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#endif

// Includes.
#include "../Candle.struct.h"
#include "../Platform/Chart/Candle.struct.h"
#include "../Storage/ItemsHistory.h"

/**
Expand Down
2 changes: 1 addition & 1 deletion Indicator/IndicatorData.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ struct ExternInstantiateIndicatorBufferValueStorageDouble {
};

// Includes.
#include "../Bar.struct.h"
#include "../Platform/Chart/Bar.struct.h"
#include "../Exchange/SymbolInfo/SymbolInfo.struct.h"
#include "../Platform/Chart/Chart.struct.tf.h"
#include "../Storage/Cache/IndiBufferCache.h"
Expand Down
4 changes: 2 additions & 2 deletions Indicators/Bitwise/Indi_Candle.mqh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
#endif

// Includes.
#include "../../Bar.struct.h"
#include "../../Platform/Chart/Bar.struct.h"
#include "../../Indicator/Indicator.h"
#include "../../Pattern.struct.h"
#include "../../Platform/Chart/Pattern.struct.h"
#include "../../Serializer/Serializer.h"
#include "../../Storage/Dict/Buffer/BufferStruct.h"
#include "../Price/Indi_Price.h"
Expand Down
4 changes: 2 additions & 2 deletions Indicators/Bitwise/Indi_Pattern.mqh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
#endif

// Includes.
#include "../../Bar.struct.h"
#include "../../Platform/Chart/Bar.struct.h"
#include "../../Indicator/Indicator.define.h"
#include "../../Indicator/Indicator.h"
#include "../../Pattern.struct.h"
#include "../../Platform/Chart/Pattern.struct.h"
#include "../../Serializer/Serializer.h"
#include "../../Storage/Dict/Buffer/BufferStruct.h"
#include "../Price/Indi_Price.h"
Expand Down
2 changes: 1 addition & 1 deletion Indicators/PriceRange/Indi_Pivot.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#endif

// Includes.
#include "../../Bar.struct.h"
#include "../../Platform/Chart/Bar.struct.h"
#include "../../Indicator/Indicator.struct.h"
#include "../../Serializer/Serializer.h"
#include "../Special/Indi_Math.mqh"
Expand Down
File renamed without changes.
12 changes: 6 additions & 6 deletions Bar.struct.h → Platform/Chart/Bar.struct.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ class Serializer;

// Includes.
#include "Bar.enum.h"
#include "Platform/Chart/Chart.enum.h"
#include "Serializer/Serializable.h"
#include "Serializer/Serializer.enum.h"
#include "Serializer/Serializer.h"
#include "Serializer/SerializerNode.enum.h"
#include "Std.h"
#include "Chart.enum.h"
#include "../../Serializer/Serializable.h"
#include "../../Serializer/Serializer.enum.h"
#include "../../Serializer/Serializer.h"
#include "../../Serializer/SerializerNode.enum.h"
#include "../../Std.h"

/* Struct for storing OHLC values. */
struct BarOHLC
Expand Down
12 changes: 6 additions & 6 deletions Candle.struct.h → Platform/Chart/Candle.struct.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ class Serializer;

// Includes.
#include "Bar.enum.h"
#include "Platform/Chart/Chart.enum.h"
#include "Serializer/Serializable.h"
#include "Serializer/Serializer.enum.h"
#include "Serializer/Serializer.h"
#include "Serializer/SerializerNode.enum.h"
#include "Std.h"
#include "Chart.enum.h"
#include "../../Serializer/Serializable.h"
#include "../../Serializer/Serializer.enum.h"
#include "../../Serializer/Serializer.h"
#include "../../Serializer/SerializerNode.enum.h"
#include "../../Std.h"

/* Structure for storing OHLC values. */
template <typename T>
Expand Down
2 changes: 1 addition & 1 deletion Platform/Chart/Chart.struct.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Class;
struct ChartTf;

// Includes.
#include "../../Bar.struct.h"
#include "Bar.struct.h"
#include "../../Serializer/Serializer.h"
#include "../../Serializer/SerializerNode.enum.h"
#include "../../Std.h"
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Pattern.struct.h → Platform/Chart/Pattern.struct.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

// Includes.
#include "Bar.struct.h"
#include "Math/Math.define.h"
#include "../../Math/Math.define.h"
#include "Pattern.enum.h"

// Defines structure for bitwise pattern values.
Expand Down
2 changes: 2 additions & 0 deletions Platform/Chart/tests/Chart.test.mq5
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
*/

// Includes.
#include "../Bar.struct.h"
#include "../Candle.struct.h"
#include "../Chart.h"
#include "../../../Convert.mqh"
#include "../../../Test.mqh"
Expand Down
2 changes: 1 addition & 1 deletion Platform/Chart3D/Chart3D.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#pragma once
#endif

#include "../../Bar.struct.h"
#include "../Chart/Bar.struct.h"
#include "../../Indicator/IndicatorData.h"
#include "../../Indicators/Price/Indi_MA.h"
#include "../../Storage/Instances.h"
Expand Down
2 changes: 1 addition & 1 deletion Storage/Dict/Buffer/BufferCandle.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#endif

// Includes.
#include "../../../Candle.struct.h"
#include "../../../Platform/Chart/Candle.struct.h"
#include "../../../Serializer/SerializerConverter.h"
#include "../../../Serializer/SerializerJson.h"
#include "BufferStruct.h"
Expand Down
2 changes: 1 addition & 1 deletion tests/CompileTest.mq5
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ struct IndicatorParams;
#include "../Storage/Object.h"
#include "../Platform/Order.h"
#include "../Platform/Orders.h"
#include "../Pattern.mqh"
#include "../Platform/Chart/Pattern.h"
// #include "../Profiler.mqh"
#include "../Storage/Redis.h"
#include "../Refs.mqh"
Expand Down

0 comments on commit 64a2cc1

Please sign in to comment.